Open sailingwithsandeep opened 5 months ago
Can confirm this, using drizzle-orm@0.30.10
I needed to read uncommited in my case, added explicit commit to my transaction for now:
await db.execute(sql`commit`);
Here is the only log with logger :true
:
Query: ?? -- params: ["set transaction ", "isolation level read uncommitted"]
I believe I'm also experiencing this on drizzle-orm@0.31.2
I think this PR is related https://github.com/drizzle-team/drizzle-orm/pull/2089
I applied https://github.com/drizzle-team/drizzle-orm/pull/2089 as a local patch and can confirm that it fixes this issue for me.
@EmericW, just updated to latest!
I am getting same error in access mode.
What version of
drizzle-orm
are you using?0.30.6
What version of
drizzle-kit
are you using?0.20.14
Describe the Bug
I am migrating from prisma to drizzle. After adding transaction options i am getting syntax error:
Expected behavior
After removing this options it's working fine. Here is the error log:
Environment & setup
MacOS M1, 13.0.1