Markus Hoenicka wrote: >If there's a way to find out at runtime that a column has been defined as >INTEGER PRIMARY KEY instead of as INTEGER, all is well and I'll be able to fix >the sqlite driver accordingly.
pragma table_info(table); In SQLite, this SQL returns all columns defined for table along with their types. Check the "pk" result column to see if a named column is a PRIMARY KEY column. Official documentation is here http://www.sqlite.org/pragma.html#pragma_table_info Ralf _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

