Giter Site home page Giter Site logo

Comments (3)

simolus3 avatar simolus3 commented on September 6, 2024 1

This is a fairly low level library around sqlite3, so I think users should manage transactions themselves by calling BEGIN and COMMIT as necessary.

If we support transactions, every call on the database would have to wait for a transaction to be complete because transactions aren't separate connections (and so the call outside of the transaction would read data written in the transaction). With a synchronous API, this isn't possible.

from sqlite3.dart.

simolus3 avatar simolus3 commented on September 6, 2024 1

How may I access the actual ffi bind-ed functions, if possible

Why would you want to do that? It requires allocating and freeing memory yourself, which this library takes care of. You can call methods from this package which directly correspond to sqlite3 calls except that they wrap them in Dart types.

Using db.execute right?

Exactly.

from sqlite3.dart.

gintominto5329 avatar gintominto5329 commented on September 6, 2024

hi,

your are so quick, i must say.

This is a fairly low level library around sqlite3.

How may I access the actual ffi bind-ed functions, if possible? if not, can those be exposed publically.

users should manage transactions themselves by calling BEGIN and COMMIT as necessary.

Using db.execute right?

You may think otherwise, but I tell you, that Im a beginner to both SQL and SQLite; Hope you understand.

thanks

from sqlite3.dart.

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.