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