Replies: 1 comment
-
|
It would be down to the underlying driver to support it, because this library is kind of neutral about the SQL. Looking at the code, seems like that PGLite library borrowed the idea for transactions implementation from pg-promise, but so did a few other libraries over the years. I believe I was the first one to implement this kind of transactions handling under NodeJS. Is why it still remains a popular choice 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://pglite.dev/
There are some implementation examples:
https://github.com/drizzle-team/drizzle-orm/blob/50a8b163e6209e7dbd72e370556d0a87ec01fd8f/drizzle-orm/src/pglite/driver.ts#L43
https://github.com/czeidler/knex-pglite/blob/main/src/index.ts
https://github.com/muraliprajapati/typeorm-pglite/blob/main/lib/pglite-pool.ts
Is is possible with Client extend?
#667
Beta Was this translation helpful? Give feedback.
All reactions