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

Relationship Graph

Source Code

drizzle-orm/type-tests/geldb/update.ts lines 64–66

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

Analyze Your Own Codebase

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

Try Supermodel Free