-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
SQLite: review constructor #592
Comments
Yeah you're right...
|
Why does it need to be instance based? |
@mlynch to eliminate the need to use callbacks. Some methods have callbacks in them and if we don't make it instance based we wouldn't be able to replace those callbacks with promises. |
Right now the SQLite plugin requires you to call
new
on it before you use it. I don't think this should be required: https://github.com/litehelpers/Cordova-sqlite-storageThe text was updated successfully, but these errors were encountered: