my $year = $cd->year; Get a column (a field) from an object. Note that this is called as an instance method, on the particular object retrieved above.
search and search_like are different in that search_like uses the SQL LIKE operator, which allows wildcards. They differ from retrieve in that retrieve only selects based on the primary key, whereas search can use any column or columns. And I think the difference between retrieve and retrieve_all should be obvious just by looking at the name.
In reply to Re: Class::DBI not intuitive
by itub
in thread Class::DBI not intuitive
by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |