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

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
  0f51d552_d8d1_03f2_9e6a_face01d8322d["withReturning()"]
  91cfe141_d94d_725f_35e0_6a96a9f02128["delete.ts"]
  0f51d552_d8d1_03f2_9e6a_face01d8322d -->|defined in| 91cfe141_d94d_725f_35e0_6a96a9f02128
  style 0f51d552_d8d1_03f2_9e6a_face01d8322d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/type-tests/sqlite/delete.ts lines 132–134

	function withReturning<T extends SQLiteDelete>(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/sqlite/delete.ts.
Where is withReturning() defined?
withReturning() is defined in drizzle-orm/type-tests/sqlite/delete.ts at line 132.

Analyze Your Own Codebase

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

Try Supermodel Free