davibe / Phonegap-SQLitePlugin

A phonegap plugin to open and use sqlite databases on iOS.
191 stars 90 forks source link

insertid not returning #8

Open parisholley opened 12 years ago

parisholley commented 12 years ago

currently, it checks if "previousInsertId != nowInsertId" but this will not work if you have two tables that start with the same sequence being inserted one after another. if this functionality is required, will need to probably use a dictionary key'd off the table name instead of using a global id