Home / Type/ GelUpdateWithJoins Type — drizzle-orm Architecture

GelUpdateWithJoins Type — drizzle-orm Architecture

Architecture documentation for the GelUpdateWithJoins type/interface in update.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e01e0c76_fa96_82c9_d062_2571937803e2["GelUpdateWithJoins"]
  956cc921_a752_6eef_2068_90c91a3cc0a7["update.ts"]
  e01e0c76_fa96_82c9_d062_2571937803e2 -->|defined in| 956cc921_a752_6eef_2068_90c91a3cc0a7
  style e01e0c76_fa96_82c9_d062_2571937803e2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/update.ts lines 112–132

export type GelUpdateWithJoins<
	T extends AnyGelUpdate,
	TDynamic extends boolean,
	TFrom extends GelTable | Subquery | GelViewBase | SQL,
> = TDynamic extends true ? T : Omit<
	GelUpdateBase<
		T['_']['table'],
		T['_']['queryResult'],
		TFrom,
		T['_']['returning'],
		AppendToNullabilityMap<T['_']['nullabilityMap'], GetSelectTableName<TFrom>, 'inner'>,
		[...T['_']['joins'], {
			name: GetSelectTableName<TFrom>;
			joinType: 'inner';
			table: TFrom;
		}],
		TDynamic,
		Exclude<T['_']['excludedMethods'] | 'from', 'leftJoin' | 'rightJoin' | 'innerJoin' | 'fullJoin'>
	>,
	Exclude<T['_']['excludedMethods'] | 'from', 'leftJoin' | 'rightJoin' | 'innerJoin' | 'fullJoin'>
>;

Frequently Asked Questions

What is the GelUpdateWithJoins type?
GelUpdateWithJoins is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/query-builders/update.ts.
Where is GelUpdateWithJoins defined?
GelUpdateWithJoins is defined in drizzle-orm/src/gel-core/query-builders/update.ts at line 112.

Analyze Your Own Codebase

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

Try Supermodel Free