Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vicary
Copy link
Contributor

@vicary vicary commented Oct 25, 2025

This prevents migration from triggering the following error

Error: NeonDialect doesn't support interactive transactions, while Kysely doesn't support batch requests (yet).

While this can be avoided by explicity using the disableTransactions option in the Migrator, doing this at adapter level is more futureproof when neon's serverless driver finds a way to allow interactive transactions.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 25, 2025

Open in StackBlitz

npm i https://pkg.pr.new/kysely-org/kysely-neon@41

commit: 20eb7c0

@vicary vicary force-pushed the no-ddl-transaction branch from 311807b to 20eb7c0 Compare October 25, 2025 19:39
Copy link
Member

@igalklebanov igalklebanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey 👋

This makes sense, thanks! 🙏

@igalklebanov igalklebanov added the enhancement New feature or request label Oct 25, 2025
@igalklebanov igalklebanov merged commit a0176db into kysely-org:main Oct 25, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants