Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    David
    @ditiem
    I have studied the IndexedDB api
    and i think there are lots of simplifications and optimizations to apply to a query
    I am thinking how this could be refactored
    and I feel we should create a "fetcher", taht is something that transverse a table with some conditions (the where part)
    and then we combine fetchers, if there are several join for instance
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    indexeddb does not support in,like etc. So they are kinda of calculated by jsstore.
    David
    @ditiem
    yeah
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    i agree - it has become quite complex project.
    David
    @ditiem
    I belive the fetcher cna reduce the code in a 60%
    (rough stimation)
    i am going to implement it now
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    cool thx.
    David
    @ditiem
    do you have something to implement tdd (Test Driven Development)?
    or due that it has to be executed in the browser wth karma it is not really possible?
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    you can use idbstudio
    just the change the files in node_modules with the latest build
    and there you can execute any query.
    David
    @ditiem
    is is possible to run karma in such a way that onl certain tests are executed?
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    yeah its just the configuration. comment the code in ur dev environment which you dont want to execute.
    or remove the files from karma.config.dev.js
    David
    @ditiem
    tx, i will research it
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    ok great. thx.
    I m hoping to see some magic from you :wink:
    David
    @ditiem
    we will see :)
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    Best of luck for ur research :smile:
    David
    @ditiem
    i will let you know when the first part is done
    i will be out some days since tomorrow, so u wont hear from me till nextweek :)
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    np, take ur time. Its gonna be a big ride .
    raja
    @sannidhisiva
    Hi I am getting Promise error with IE 11 (Version 2).Please help
    raja
    @sannidhisiva
    @UJJWALFORU_twitter
    Ghost
    @ghost~5a01e4a6d73408ce4f7d918b
    you gotta include promise polyfill
    and use ie build - jsstore.worker.ie.min.js
    ersaurabh101
    @ersaurabh101

    Hello,

    We are using jsstore with typescript [ionic]. I am using it in 3 to 4 of my apps, problem i am facing is -

    Please note, i have 2 pages in ionic, where condition works fine in Page1 in case of both A and B, whereas in page 2, where condition works fine for user "A" but gives error for user "B"

    Why is it working fine in both pages of B and only 1 page for A.

    Please help us, we are in a fix.

    Where A and B are 2 different users
    Ujjwal Gupta
    @ujjwalguptaofficial
    Hi
    ersaurabh101
    @ersaurabh101
    Hello
    Ujjwal Gupta
    @ujjwalguptaofficial
    What do you mean by user a and user b - do you mean two different device ?
    ersaurabh101
    @ersaurabh101
    no same device, i am checking it on pc
    one thing works for user A but not for user B
    If you want me to show you this strange problem on team viewer or anydesk
    Ujjwal Gupta
    @ujjwalguptaofficial
    have you tried using idbstudio for debugging ?
    ersaurabh101
    @ersaurabh101
    there is no need for that
    command is working fine for user A in page 1 and page 2
    But for user B, it is working in page1 aswell but not in "page2"
    for user B in page 2 it says error type: table_not_exist, remember same command works on page 1 for this same user
    Ujjwal Gupta
    @ujjwalguptaofficial
    what api ?
    select ?
    ersaurabh101
    @ersaurabh101
    yes
    with where