Sequence or Identity in gadfly

Jeff Kowalczyk jtk at yahoo.com
Fri Sep 6 23:21:27 EDT 2002


I don't expect that it does (it would make more sense to do it in your
python code), but is there a Sequence type in gadfly so that I can make an
autonumber for ID columns similar this postgres code?:

CREATE SEQUENCE id
start 1000 increment 1 maxvalue 100000

SELECT nextval ('id');

Or some other construct for creating an identity value?









More information about the Python-list mailing list