DBIx::Kohada::AnonRow - Anonymous Row Object
This object is an anonymous row object. It's instance is created by $db-search_by_sql(undef, $sql, @binds)> or $db-search_by_query_object($query)> method.
$db-
This class defines AUTOLOAD method. If you calls missing method, then you get the column data on the method name.
$row->foo(); # is equivalent to $row->get_column('foo');
Create new instance of DBIx::Kohada::AnonRow. The arguments are:
It contains fetched data in hashref.
This method returns the fetched column names.
This method looks context by wantarray.
Return: The value of column.
Get the column data from row.
This method throws exception if the $column_name is not exists in the fetched data.
Returns all loaded column data as a hash, containing raw values. To get just one value for a particular column, use "get_column".
Returns: A hashref of column name, value pairs.
To install DBIx::Kohada, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Kohada
CPAN shell
perl -MCPAN -e shell install DBIx::Kohada
For more information on module installation, please visit the detailed CPAN module installation guide.