Hi,
I would like to use IDs generated by generator in my application. I am using
Firebird DB.
Now I go like:
genVal = connection.queryOne("SELECT GEN_ID( GEN_PERSON, 1 ) FROM
RDB$DATABASE")
or for Firebird 2.0
genVal = connection.queryOne("SELECT NEXT VALUE FOR GEN_PERSON FROM
RDB$DATABASE")
Is there some other (more Pythonic) way how to get generator value?
Thanks for your reply
Petr Jakes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss