Raw SQL query inside transaction #131
-
|
Is there a way to run raw SQL queries (such as Consider this: await testTransaction.start(db)
await db.$adapter.query(`
create table "user" (
id serial primary key,
name text not null
);
`)
await db.user.create({ name: "Alice" })
await db.user.take()
await testTransaction.close(db)Expected
Actual result
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Looks like no, because I'll need to add a |
Beta Was this translation helpful? Give feedback.
-
|
This has been addressed in #133 |
Beta Was this translation helpful? Give feedback.
This has been addressed in #133