floor icon indicating copy to clipboard operation
floor copied to clipboard

how to truncate table?

Open SteveCruise opened this issue 3 years ago • 1 comments

how to delete all data in a table

SteveCruise avatar Aug 18 '22 00:08 SteveCruise

@SteveCruise To delete all data from the table you need to create a next Query request:

@Query('DELETE FROM task')
Future<void> clearTable();

But note that Query actions doesn't trigger a change update.

dkaera avatar Aug 18 '22 12:08 dkaera

Thank you!

SteveCruise avatar Aug 31 '22 01:08 SteveCruise