Home / Type/ GelUpdateJoinFn Type — drizzle-orm Architecture

GelUpdateJoinFn Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/update.ts lines 134–153

export type GelUpdateJoinFn<
	T extends AnyGelUpdate,
	TDynamic extends boolean,
	TJoinType extends JoinType,
> = <
	TJoinedTable extends GelTable | Subquery | GelViewBase | SQL,
>(
	table: TJoinedTable,
	on:
		| (
			(
				updateTable: T['_']['table']['_']['columns'],
				from: T['_']['from'] extends GelTable ? T['_']['from']['_']['columns']
					: T['_']['from'] extends Subquery | GelViewBase ? T['_']['from']['_']['selectedFields']
					: never,
			) => SQL | undefined
		)
		| SQL
		| undefined,
) => GelUpdateJoin<T, TDynamic, TJoinType, TJoinedTable>;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free