How to achieve a returning insert with relations
Hey so I noticed this is not currently possible, any advice on how I might be able to do this with the sql api?
https://github.com/drizzle-team/drizzle-orm/issues/2325
GitHub
[FEATURE]: Add ability to use relations in
returning()
· Issue #2...Describe what you want I want to be able to specify with in a returning clause. For instance: // Current code await db.update(users).set({ email }).where(...); const newUser = await db.query.users....
0 Replies