How to reset Primary key counter in SQFLITE Flutter

Viewed 27

I am creating an android application using flutter and I am using SQFLITE for storing user data locally. But I am facing an issue while deleting all the rows from table.

The issue is when I try to delete all the rows from table by using

db.delete("table name");

function all the rows are deleted but the PRIMARY KEY counter is not reset.

can Anyone help me out to reset the PRIMARY KEY counter.

Thank you In Advance!

0 Answers
Related