Giter Club home page Giter Club logo

Comments (9)

DjDeveloperr avatar DjDeveloperr commented on August 15, 2024

Can you provide a reproduction for this error?

from sqlite3.

guzman109 avatar guzman109 commented on August 15, 2024

I'm just doing an UPDATE using db.exec().
db.exec("UPDATE table SET column=value where id=?", id);

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on August 15, 2024
image

Is there anything I'm missing?

from sqlite3.

guzman109 avatar guzman109 commented on August 15, 2024

Hmm, I wonder if its because I have mine wrapped in a Promise.all?

image

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on August 15, 2024

Promise.all shouldn't be making a difference, it seems like it is failing when calling sqlite3_prepare_v2 which means there is likely something wrong with the query itself, but I don't see it... what if you change all bind parameters to ? instead of using :release_download_count ?

from sqlite3.

guzman109 avatar guzman109 commented on August 15, 2024

Did not notice that mistake, but that did not work either. Is there anything else I could provide that would help?

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on August 15, 2024

Is it possible for you to reproduce the problem in a small test script instead? We need to isolate the case

from sqlite3.

guzman109 avatar guzman109 commented on August 15, 2024

@DjDeveloperr Indeed it was a problem with my code. I was using the wrong table and closing the database before all the async calls were finished.

Thank you for your help!

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on August 15, 2024

No problem, glad you found the issue.

from sqlite3.

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.