Home / Function/ withReturning() — drizzle-orm Function Reference

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
  bcc78967_e292_d69b_ef44_4f651bbdb469["withReturning()"]
  8cd0a6f9_0f45_6ff7_2589_deaa80cb9682["insert.ts"]
  bcc78967_e292_d69b_ef44_4f651bbdb469 -->|defined in| 8cd0a6f9_0f45_6ff7_2589_deaa80cb9682
  style bcc78967_e292_d69b_ef44_4f651bbdb469 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/type-tests/geldb/insert.ts lines 217–219

	function withReturning<T extends GelInsert>(qb: T) {
		return qb.returning();
	}

Domain

Subdomains

Frequently Asked Questions

What does withReturning() do?
withReturning() is a function in the drizzle-orm codebase, defined in drizzle-orm/type-tests/geldb/insert.ts.
Where is withReturning() defined?
withReturning() is defined in drizzle-orm/type-tests/geldb/insert.ts at line 217.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free