react-native-sqlite-storage
react-native-sqlite-storage copied to clipboard
Full featured SQLite3 Native Plugin for React Native (Android and iOS)
## Expected Behavior When I insert a new row, updated_at and created_at columns must be the datetime variables of the inserting moment. Here is my query: `CREATE TABLE IF NOT...
DB is initialized every time the application is started. What's wrong? ```:javascript /** * database.js * * @format * @flow strict-local */ import SQLite from 'react-native-sqlite-storage'; import React, { createContext,...
For common procedures (e.g. basic selects/inserts), the complexity of the current api can feel excessive. I propose we include an alternate api for simple use cases. To use, get a...
``` TypeScript //db: SQLite.SQLiteDatabase let tx = await db.transaction((tx2 : Transaction)=>{ console.info("tx2=",tx2); }); console.info("tx=",tx); ``` ## Expected Behavior tx !== null && tx2 == tx ## Current Behavior tx ==...
When running `executeSql(statement: string, params?: any[]): Promise;` and providing invalid SQL such as `INSERT INTO Unknown ();` does not result in any errors thrown, but logs to console. ## Expected...
I use this query string to update multiple rows: `with data (id, name) as ( select * from ( values (1, 'Name 1'), (2, 'Name 2') ) ) update table1...
s.dependency in XCode12 build error to fit xcode12, react-native have changed react-core, new project with react-native v0.63 build with xcode12 cannot success. s.denpendency should change 'React' to 'React-Core'. may be...
I alredy deleted assets/my.db, WWW/my.db. But how can database work after that. Where is database ?
## Expected Behavior ## Current Behavior ## Possible Solution ## Steps to Reproduce (for bugs) ## Context ## Your Environment * React Native SQLite Storage Version used: * React Native...
I see you guys fixed this per Chase's PR: https://github.com/andpor/react-native-sqlite-storage/pull/335 but for those of us still on ~3, the issue still exists. Can you please fix so we can install...