Home / Type/ MySqlInsertReturning Type — drizzle-orm Architecture

MySqlInsertReturning Type — drizzle-orm Architecture

Architecture documentation for the MySqlInsertReturning type/interface in insert.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  3335bc2a_3ffb_f2d8_6a41_1a53f6e95b90["MySqlInsertReturning"]
  a270d70d_1a42_692c_4fcf_09f69761d58e["insert.ts"]
  3335bc2a_3ffb_f2d8_6a41_1a53f6e95b90 -->|defined in| a270d70d_1a42_692c_4fcf_09f69761d58e
  style 3335bc2a_3ffb_f2d8_6a41_1a53f6e95b90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/query-builders/insert.ts lines 162–172

export type MySqlInsertReturning<
	T extends AnyMySqlInsert,
	TDynamic extends boolean,
> = MySqlInsertBase<
	T['_']['table'],
	T['_']['queryResult'],
	T['_']['preparedQueryHKT'],
	InferModelFromColumns<GetPrimarySerialOrDefaultKeys<T['_']['table']['_']['columns']>>,
	TDynamic,
	T['_']['excludedMethods'] | '$returning'
>;

Frequently Asked Questions

What is the MySqlInsertReturning type?
MySqlInsertReturning is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/query-builders/insert.ts.
Where is MySqlInsertReturning defined?
MySqlInsertReturning is defined in drizzle-orm/src/mysql-core/query-builders/insert.ts at line 162.

Analyze Your Own Codebase

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

Try Supermodel Free