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

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
  1fc683cb_cd0c_395f_d787_8daa86a67165["withReturning()"]
  afc610b8_1520_83da_fa4c_c92e99605850["update.ts"]
  1fc683cb_cd0c_395f_d787_8daa86a67165 -->|defined in| afc610b8_1520_83da_fa4c_c92e99605850
  style 1fc683cb_cd0c_395f_d787_8daa86a67165 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/type-tests/sqlite/update.ts lines 111–113

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

Analyze Your Own Codebase

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

Try Supermodel Free