SQL::DBx::Pg - add various features to Pg
0.971.0. 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.
Mark Lawrence <firstname.lastname@example.org>
Copyright (C) 2012 Mark Lawrence <email@example.com>
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.