react-native-db-models
react-native-db-models copied to clipboard
React native Library for creating Local DB models
Hello! Shouldn't `erase_db()` reset the autoIncrement also?
By making callback node style, the first argument of callback is `error`, users can use something like [`bluebird.promisify`](https://github.com/petkaantonov/bluebird/blob/master/API.md#promisepromisifyfunction-nodefunction--dynamic-receiver---function) to convert the callback style to the promise style.
Its more of a query then a problem , that how can we precist data among multiple launches of an application. var DB = { "app": new RNDBModel.create_db('app'), "users": new...
I am getting data over written by a later call. All calls are from the same function that lives on props in my react-native project. Every call happens in the...
When you call "RNDBModel.DBEvents.emit", you should pass the right action name, like "remove_id", "update_id, "add". Calling everything as "all", make it dificult to know which event was emited.
When calling `.remove`, I see deleted_ids, but the next time I get records, the deleted ones are still there. **Update:** I think part of the issue was with timing. Below...
I am a newer programmer, and I am interested in using this library as part of my react native app (I am building an avatar creator). SQL db requires a...
Great work on this wrapper. It's really useful! I just noticed a small issue today. It seems that when receiving the callback from the `update` or the `update_id` function I...
I have 99 records in array that i am saving in the loop but records after 37. it is not adding. is there any limit on saving the records???
Hey darkrishabh, No issue, just wanted to suggest maybe making a lazy table creator in your DB.js, like so: ``` var RNDBModel = require('react-native-db-models') var DB = { table :...