Comments (2)
It is hard to say without bigger picture especially in regard to local server (and what it is even supposed to do) if this is most suited but it is possible.
There is info in regard to id columns here:
from watermelondb.
For the id, some of my backend tables have the ID as a numerical number but the sync to the backend is completely controlled by you so you could just parse the int from the string passed by WatermelonDB (similar situation: #1793) or alternatively you could just create a separate id column of a numeric type (something like db_id
) and ignore the watermelonDB generated id when querying on the frontend (downside is it would render the watermelon id field a redundant useless field tho).
As for whether it's a good fit for your project I think no one can really answer that other than you but you could probably test using the popular frameworks on a mini copy of your db to see which works best for you and your team. Other option is probably expo's sqlite package.
from watermelondb.
Related Issues (20)
- Querying table with has_many relation length not null HOT 1
- Using @writer or @reader methods in WatermelonDB outside of the model class HOT 1
- Possible to overwrite created_at ? HOT 2
- Reset behavior is dangerous and should not be default HOT 5
- Migrations failure when using `unsafeExecuteSql` with terminating expression with semicolon HOT 2
- Downstream updates not working using subscribe HOT 15
- Cannot read property initializeJSI of null HOT 1
- Rollback on production app HOT 2
- Error: EMFILE: too many open files, watch HOT 1
- SIGABRT Assertion failed: (database->initialized_) HOT 2
- Updating observers
- Compilation issues in android HOT 2
- Property 'name' does not exist on type 'Model' HOT 4
- Can't make experimentalJoinTables to Work HOT 1
- find() returns deleted records HOT 3
- [Question] Does WatermelonDB support op-sqlite? HOT 1
- jsimodule not working in 0.74.3 version HOT 7
- Not allowed to change record outside of create/update() HOT 3
- Trasanctional for raw SQL query
- Target and leverage Sync module only with my own database?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watermelondb.