You are not logged in.
Pages: 1
I don't understand what you mean...
Do you mean change the record ID to another value?
In this case, there is no way of doing it directly from the ORM, but by creating new records with the new ID and copied fields values, then delete the old records.
You may do it using raw SQL, anyway - but ensure you flush the cache.
Offline
i mean like this post
http://synopse.info/forum/viewtopic.php?id=1664
after delete all data of table the ID already continued value. i want to reset id to start from number 1 when the table is empty
,How to flush the cache?
Last edited by xchinjo (2016-10-31 09:56:05)
Jongruk Aripoo
Offline
For a SQlite3 table, it is a SQLite3 feature.
See http://stackoverflow.com/a/3443682/458259
Offline
Doesn't VACUUM do this in SQLite ?
Offline
Pages: 1