Shortcut for .returning()
Is there a shortcut for
.returning()
where there's only one table I'm selecting from?
I write:
would prefer to write:
2 Replies
.returning({ ...getTableColumns(userSchema) })
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.