Alzabo::Runtime::OuterJoinCursor - Cursor that returns arrays of Alzabo::Runtime::Row objects or undef
Alzabo::Runtime::Row
my $cursor = $schema->left_outer_join( tables => [ $foo, $bar ] ); while ( my @rows = $cursor->next ) { print $row[0]->select('foo'), "\n"; print $row[1]->select('bar'), "\n" if defined $row[1]; }
This class exists to handle the return values from outer joins properly. If the join returns NULL, then it returns undef instead of a row object for a that row, instead of a row object.
undef
Alzabo::Runtime::JoinCursor
The next array of Alzabo::Runtime::Row objects and/or undefs, or an empty list if no more arrays of rows are available.
This behavior can mask errors in your database's referential integrity. For more information on how to deal with this see the HANDLING ERRORS section in Alzabo::Runtime::Cursor.
Dave Rolsky, <autarch@urth.org>
To install Alzabo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alzabo
CPAN shell
perl -MCPAN -e shell install Alzabo
For more information on module installation, please visit the detailed CPAN module installation guide.