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

Missing 'close' function #135

Open
atheck opened this issue Oct 6, 2022 · 1 comment
Open

Missing 'close' function #135

atheck opened this issue Oct 6, 2022 · 1 comment

Comments

@atheck
Copy link

atheck commented Oct 6, 2022

I recently switched from react-native-sqlite-storage to react-native-sqlite-2 because of issues with Android API Level 30+.

The documentation says: "It should be a drop-in replacement for react-native-sqlite-storage."

But I'm missing the WebsqlDatabase.close function. Is it not required to close the database when exiting the app?

@atheck
Copy link
Author

atheck commented Oct 6, 2022

Oh, and I have another question. What does the boolean return value of the SQLStatementErrorCallback of the executeSql function mean?

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

No branches or pull requests

1 participant