I'm using SQLite DB in my Android app.
Now I need to implement data extraction in the same order in which it was inserted.
Is it enough to do SELECT ... ORDER BY _id ...
if the _id
column is INTEGER PRIMARY KEY AUTOINCREMENT
?
Or should I add a column to store the date and time a row has been created?
问问题
70 次