GithubHelp home page GithubHelp logo

Comments (7)

triniwiz avatar triniwiz commented on July 3, 2024

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.

lostation avatar lostation commented on July 3, 2024

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.

triniwiz avatar triniwiz commented on July 3, 2024

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.

lostation avatar lostation commented on July 3, 2024

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.

triniwiz avatar triniwiz commented on July 3, 2024

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.

lostation avatar lostation commented on July 3, 2024

sure !

from nativescript-couchbase-plugin.

lostation avatar lostation commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.