tags:

views:

29

answers:

2

Does SQLite store the lastmodified date of a row, like a file system?
If not, how can I do it?

+3  A: 

I think that you can only add column to your table and create trigger for updating column value with datetime('now');

skyman
That's what I'd try to do too. See http://www.shokhirev.com/nikolai/abc/sql/triggers.html for an example for `insert`; you have to add a similar trigger for `update` too. (untested)
bart
+1  A: 

No.

Add a lastmodified column to your table(s), and update it on modification of that row.

Roger Pate