react-native-sqlite-2 icon indicating copy to clipboard operation
react-native-sqlite-2 copied to clipboard

Missing 'close' function

Open atheck opened this issue 3 years ago • 1 comments

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 avatar Oct 06 '22 13:10 atheck

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

atheck avatar Oct 06 '22 13:10 atheck