Home / Type/ MySqlCrossJoinFn Type — drizzle-orm Architecture

MySqlCrossJoinFn Type — drizzle-orm Architecture

Architecture documentation for the MySqlCrossJoinFn type/interface in select.types.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  d56fec3d_eb5f_68d4_480c_c8838937697a["MySqlCrossJoinFn"]
  b145d7b0_f119_a29a_6da7_7ad4e74e20fa["select.types.ts"]
  d56fec3d_eb5f_68d4_480c_c8838937697a -->|defined in| b145d7b0_f119_a29a_6da7_7ad4e74e20fa
  style d56fec3d_eb5f_68d4_480c_c8838937697a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/query-builders/select.types.ts lines 134–147

export type MySqlCrossJoinFn<
	T extends AnyMySqlSelectQueryBuilder,
	TDynamic extends boolean,
	TIsLateral extends boolean,
> = <
	TJoinedTable extends (TIsLateral extends true ? Subquery | SQL : MySqlTable | Subquery | MySqlViewBase | SQL),
	TJoinedName extends GetSelectTableName<TJoinedTable> = GetSelectTableName<TJoinedTable>,
>(
	table: TJoinedTable,
	onIndex?:
		| (TJoinedTable extends MySqlTable ? IndexConfig
			: 'Index hint configuration is allowed only for MySqlTable and not for subqueries or views')
		| undefined,
) => MySqlJoin<T, TDynamic, 'cross', TJoinedTable, TJoinedName>;

Frequently Asked Questions

What is the MySqlCrossJoinFn type?
MySqlCrossJoinFn is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/query-builders/select.types.ts.
Where is MySqlCrossJoinFn defined?
MySqlCrossJoinFn is defined in drizzle-orm/src/mysql-core/query-builders/select.types.ts at line 134.

Analyze Your Own Codebase

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

Try Supermodel Free