Oryx::DBI::Util::mysql - Oryx DBI utilities for MySQL connections
This provides an Oryx DBI utility class for use with DBD::mysql.
The lastval() method is implemented using the "mysql_insertid" field of the database handler. This will only be able to return the insert ID of the last inserted row. This is, to my knowledge at the time of this writing, the only way to do this as the standard last_insert_id() method of DBI has not yet been implemented.
lastval()
last_insert_id()
Oryx::DBI::Util, DBD::mysql
Richard Hundt <richard NO SPAM AT protea-systems.com>
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
Copyright (c) 2005 Richard Hundt.
This library is free software and may be used under the same terms as Perl itself.
To install Oryx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Oryx
CPAN shell
perl -MCPAN -e shell install Oryx
For more information on module installation, please visit the detailed CPAN module installation guide.