Home / Type/ PgInsertWithout Type — drizzle-orm Architecture

PgInsertWithout Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  591ee5de_c3be_9af7_c90e_47ef7454d949["PgInsertWithout"]
  6f066777_3f37_e9b7_9d78_03e1a3ea895d["insert.ts"]
  591ee5de_c3be_9af7_c90e_47ef7454d949 -->|defined in| 6f066777_3f37_e9b7_9d78_03e1a3ea895d
  style 591ee5de_c3be_9af7_c90e_47ef7454d949 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/query-builders/insert.ts lines 137–149

export type PgInsertWithout<T extends AnyPgInsert, TDynamic extends boolean, K extends keyof T & string> =
	TDynamic extends true ? T
		: Omit<
			PgInsertBase<
				T['_']['table'],
				T['_']['queryResult'],
				T['_']['selectedFields'],
				T['_']['returning'],
				TDynamic,
				T['_']['excludedMethods'] | K
			>,
			T['_']['excludedMethods'] | K
		>;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free