SQL::DBx::Pg - add various features to Pg
0.971.2. Development release.
use SQL::DB; use SQL::DBx::Pg; my $db = SQL::DB->connect($dsn); $db->nextval('sequence'); $db->currval('sequence');
SQL::DBx::Pg adds the nextval() and currval() convenience methods to SQL::DB.
Advance the sequence to its next value and return that value.
Return the current value of the sequence.
SQL::DB, Moo::Role
Mark Lawrence <nomad@null.net>
Copyright (C) 2012 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
To install SQL::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::DB
CPAN shell
perl -MCPAN -e shell install SQL::DB
For more information on module installation, please visit the detailed CPAN module installation guide.