14.03.2011 20:40, David Williams ?????:
One more question if I may, do all id fields have to be prefixed with a underscore like _id ? Right now (not sure what version of sql WebOS uses) all my database tables simple have columns called id. If I do need to prefix all my id columns with an underscore then what is the reason for that? A restriction/limitation of sqlite3?
This definitely doesn't come from SQLite3 - it's an Android thing, used by CursorAdapter and possibly others to identify the primary key column. If you plan on using CursorAdapter, you have to name your primary key "_id".
-- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

