ionic-sqlite-orm's People
ionic-sqlite-orm's Issues
How to use, not working
Cannot find name 'QueryBuilder'.
on update object it inserts null in the columns for empty fields.
I fixed it by using in update method.
if(items[item]) {
updateQuery.push(${item}='${items[item]}'
);
}
I dont know i should post it here or not.(If it is not correct place please delete it :) )
Working on Docs
On create object you just resolve with only status
If we create object with create() it resolves with 'created',Ideally it should return reference of the created object also.Otherwise you will not get the rowid/id of the row created.
Suggestion : You can resolve it with response (It contains insertId) .
Implementation of Parent Child relationships among tables and other table relationships
Hi,
We have tried out ionic-sqlite-orm in one of our PoC. We were able to create a db file with a table and we were able to perform basic CRUD operations on it. Even the constrains like PRIMARY KEY AUTO INCREMENT, NOT NULL etc. are working fine. Our major concern is to establish parent child relationship among tables and create multiple tables based on it in one shot. Also we need to explore on other one-one, one-many, many-one etc relationships too. Since the documentation doesn't talk about this could you please guide us in this process.
Regards,
Yuvaraj
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.