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

Relationship Graph

Source Code

drizzle-orm/type-tests/geldb/delete.ts lines 58–60

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

Analyze Your Own Codebase

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

Try Supermodel Free