withReturning() — drizzle-orm Function Reference
Architecture documentation for the withReturning() function in update.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 5b357420_7276_2307_840e_adc55cb70bfb["withReturning()"] 60a03814_2a9b_3c6b_eb8c_0bf124b68d39["update.ts"] 5b357420_7276_2307_840e_adc55cb70bfb -->|defined in| 60a03814_2a9b_3c6b_eb8c_0bf124b68d39 style 5b357420_7276_2307_840e_adc55cb70bfb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/type-tests/pg/update.ts lines 65–67
function withReturning<T extends PgUpdate>(qb: T) {
return qb.returning();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does withReturning() do?
withReturning() is a function in the drizzle-orm codebase, defined in drizzle-orm/type-tests/pg/update.ts.
Where is withReturning() defined?
withReturning() is defined in drizzle-orm/type-tests/pg/update.ts at line 65.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free