withReturning() — drizzle-orm Function Reference
Architecture documentation for the withReturning() function in delete.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 0883dc74_2d34_e77d_9497_51961f1d6d1d["withReturning()"] 7b23a2e9_e7ed_2c2e_cfeb_67f68bab7871["delete.ts"] 0883dc74_2d34_e77d_9497_51961f1d6d1d -->|defined in| 7b23a2e9_e7ed_2c2e_cfeb_67f68bab7871 style 0883dc74_2d34_e77d_9497_51961f1d6d1d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/type-tests/pg/delete.ts lines 56–58
function withReturning<T extends PgDelete>(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/delete.ts.
Where is withReturning() defined?
withReturning() is defined in drizzle-orm/type-tests/pg/delete.ts at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free