You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to open the database as mentioned in the docs, while executing the query I am getting the error Uncaught TypeError: Cannot read property 'exec' of undefined at SQLiteDatabase.exec
Below is the code of executing the query,
db.transaction(txn => {
console.log(txn);
txn.executeSql(
"CREATE TABLE IF NOT EXISTS USERS(user_id INTEGER PRIMARY KEY NOT NULL, name NVARCHAR(30), password NVARCHAR(8))",
[],
successCB,
errorCB
);
I have also added console for db and txn to check if anything is not working on that side, but as you can see the console for db and txn are coming. Below are the screenshots of the same
Please let me know if I have missed any step or need to add any dependency which is causing the issue.
The text was updated successfully, but these errors were encountered:
Hi There,
I'm working on react-native-windows, below is the version information
I was able to open the database as mentioned in the docs, while executing the query I am getting the error Uncaught TypeError: Cannot read property 'exec' of undefined at SQLiteDatabase.exec
Below is the code of executing the query,
I have also added console for db and txn to check if anything is not working on that side, but as you can see the console for db and txn are coming. Below are the screenshots of the same
Please let me know if I have missed any step or need to add any dependency which is causing the issue.
The text was updated successfully, but these errors were encountered: