We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
returning()
I want to be able to specify with in a returning clause. For instance:
with
returning
// Current code await db.update(users).set({ email }).where(...); const newUser = await db.query.users.findFirst({ where: ..., with: {settings: true }); // Proposed code const newUser = await db.update(users).set({ email }).where(...).returning({ with: {settings: true} });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe what you want
I want to be able to specify
with
in areturning
clause. For instance:The text was updated successfully, but these errors were encountered: