SiimKinks / sqlitemagic

Compile time processed, annotation driven, no reflection SQLite database layer for Android
https://siimkinks.github.io/sqlitemagic/javadoc/
Apache License 2.0
121 stars 10 forks source link

question for SQLITE_SEQUENCE #4

Closed IvanGarza07 closed 6 years ago

IvanGarza07 commented 7 years ago

how can i reset the SQLITE_SEQUENCE with sqlite magic. do sqlite magic have a way to run or exec a query like that db.execSQL("DELETE FROM sqlite_sequence WHERE name= TABLE_NAME");

SiimKinks commented 7 years ago

Currently running a raw SQL like that is not supported. It will definitely be implemented in some future version. Until then all proposals on implementation details are welcome.

IvanGarza07 commented 7 years ago

Ok thank you for your info! I'll be waiting for the next update, the library its so useful

SiimKinks commented 6 years ago

Starting from version 0.17.0 it is possible to execute raw DELETE and UPDATE statements using corresponding operation builders.