Comments (7)
I didn’t expose a close method but you can try myDB.android || .ios.close()
<- which ever platform you’re on
from nativescript-couchbase-plugin.
Yep that seems to do the trick ;) Thanks.
Now I'm getting the database, do my stuffs and right after I close it. I'm not sure it's a performance issue...to close every time...but it seems to work.
But do you have an idea how to create index from your plugin ?
I have to manage about 3000 items and it not seems very fast when I do query all the items is about 3 sec...
from nativescript-couchbase-plugin.
I did not expose that feature but will add it in the next version also it would be v7 only another I can try enabling the multithreaded feature (currently begin a flag v7 only) then you even use the batch method 🙂
from nativescript-couchbase-plugin.
Aïe I'm not quite ready to upgrade to NS7 right now... I'm working on a big entreprise angular shared project...so it's a huge truck to move ;)
Thanks Osei.
from nativescript-couchbase-plugin.
Ah understood , you see I’m doing a massive clean up with all the plugins I maintain an the ones that got under-maintained ... I think everyone would love the next move 🙂
from nativescript-couchbase-plugin.
sure !
from nativescript-couchbase-plugin.
Finally... I will wait until your next plugin version, currently Couchbase is way too slow for my needs... Or maybe it's not the right tool. I don't know... I've simply compared its read performance with a simple string application storage done by child workers and that's really really more performant...From 3 sec to some milliseconds...Unbelievable, I've even added a timeout to let the time for some UI things to happen...More luck on next try. Cheers.
from nativescript-couchbase-plugin.
Related Issues (20)
- Is posible create pull and push by documentId ?
- QueryArrayOperator: what about it?
- GROUP BY
- ERROR NSErrorWrapper: unable to open database file
- QUERY: WHERE HOT 2
- Storage of App on devices increase even deleting data HOT 2
- Support for CBL 2.7 HOT 3
- deleteDocument missing ConcurrencyMode Param HOT 1
- Can't find variable: CBLDatabase Error
- createView is not a function HOT 1
- how to get count of items from document HOT 4
- Need query to get data using offset and limit HOT 2
- runtime visualise data from database HOT 1
- Migrate plugin to use new @nativescript/core imports HOT 2
- Changing to @nativescript/core HOT 1
- Enquiry: Secure / Encrypt Couchbase DB with a Password HOT 1
- minSdk version error
- Data on syncing HOT 1
- [Question] Prebuild 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 nativescript-couchbase-plugin.