Jonathan Ellis wrote: > >>> from pysqlite2 import dbapi2 > >>> dbapi2.sqlite_version > '3.3.4'
sqlite_version_info is even better, because you can then do a simple compare like sqlite_version_info >= (3, 2, 3) -- Gerhard > On 7/10/06, *Michael Bayer* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I can add a switch into sqlite.py to not produce a CAST clause based > on the version of sqlite being used. does anyone know offhand how to > get sqlite's version from the pysqlite API ? > [...] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users