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
https://github.com/drizzle-team/drizzle-orm/issues/2325
GitHub![[FEATURE]: Add ability to use relations in `returning()` · Issue #2...](https://images-ext-1.discordapp.net/external/elerdr7Ib1dr7otBHQX9j_Bt5z0CH4NINUuCWft8Pwg/https/opengraph.githubassets.com/d6cf135eddc122d956be4c401b815f5da956ace7313207e9e90844aab74926a3/drizzle-team/drizzle-orm/issues/2325)
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....