I have an application that could potentially hold 600k+ records in a single WebSql
table.
I have searched and searched for a way in JayData
to quickly delete all of the records from a table but the only option that I have found is to actually first retrieve the records, remove them from the set, and then call saveChanges()
on the set.
As you can imagine, this is extremely slow (takes minutes). I find it hard to believe that there is no way to truncate a WebSql
or IndexedDb
table from JayData
. Am I wrong about this or is there an easier way?
Thanks.