Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated API calls to be removed #5

Open
brodycj opened this issue Oct 26, 2017 · 0 comments
Open

Deprecated API calls to be removed #5

brodycj opened this issue Oct 26, 2017 · 0 comments

Comments

@brodycj
Copy link
Member

brodycj commented Oct 26, 2017

The following API calls are now deprecated and scheduled to be removed in the near future:

  • "standard" transaction API calls (db.transaction() and db.readTransaction())
  • Multi-part transactions (db.beginTransaction())

This is needed to support the Browser platform ref: storesafe/cordova-sqlite-evcore-extbuild-free#11 and avoid a number of other problems discussed in storesafe/cordova-sqlite-storage#690.

It is recommended to use the following calls instead:
To clarify: it is recommended to use the following calls in general:

  • db.executeSql() to read data or execute a single statement
  • db.sqlBatch() to execute a batch of modification statements within an ACID (atomic, failure-safe) transaction

NOTE that the db.sqlBatch() call is still not supported by this plugin version, will be added by merge in the near future ref: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant