Giter Site home page Giter Site logo

Kysely transactions about storage HOT 8 CLOSED

vercel avatar vercel commented on May 18, 2024 2
Kysely transactions

from storage.

Comments (8)

emirotin avatar emirotin commented on May 18, 2024

Yeah, this was much unexpected, after I've invested some time into tailoring my code to run with Vercel serverless functions and Vercel PG

from storage.

vvo avatar vvo commented on May 18, 2024

Hey @roelandmoors and @emirotin have you tried to use the original transaction example from Kysely as seen here: https://kysely.dev/docs/examples/transactions/simple-transaction? Let me know how it goes

from storage.

emirotin avatar emirotin commented on May 18, 2024

@vvo nope, instantly switched to another PG provider, transactions are crucial for my use-case

from storage.

roelandmoors avatar roelandmoors commented on May 18, 2024

Sorry, I don't remember. I'm using a different stack now.
But how could it work if it is not implemented? (kysely_transactions_not_supported)

from storage.

vvo avatar vvo commented on May 18, 2024

Sorry, I don't remember. I'm using a different stack now.

Well I am just wondering if this was the right method (beginTransaction) to use versus the current kysely documentation which says to use .transaction. i.e. it might just works nowadays.

Closing, let's wait for someone else to come about this.

from storage.

emirotin avatar emirotin commented on May 18, 2024

@vvo pretty sure I was following the Kysely docs, I believe beginTransaction is being called by the transaction method

from storage.

jswent avatar jswent commented on May 18, 2024

Is there still nothing done on this? This library is essentially useless to me if transactions are not supported.

@emirotin what provider did you switch to for Vercel PG?

from storage.

emirotin avatar emirotin commented on May 18, 2024

from storage.

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.