On 20 May 2010, at 1:21am, Andrew Rodland wrote:

> I understand that, but that's not what I need. I'm working on the code that 
> loads a database schema into an ORM, and I need to properly set the flag 
> "is_auto_increment" which is used to identify a column that will be 
> automatically set by the DB. I'm not looking to access the rowid directly, I 
> truly am just looking for information about a specific column -- will it have 
> a certain behavior or not?

Sorry, but as far as I know the only way to find that out is to look at column 
'sql' of TABLE sqlite_master and parse the creation statement.  The appropriate 
fix to SQLite would involve adding another column to the result from 'PRAGMA 
table_info()'.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to