Home / Type/ CreateUpdateSchema Type — drizzle-orm Architecture

CreateUpdateSchema Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  52d71990_0f70_0577_cd05_bf7e690d4548["CreateUpdateSchema"]
  e918a77e_1e35_56b9_adb6_5727c2a5b3ad["schema.types.ts"]
  52d71990_0f70_0577_cd05_bf7e690d4548 -->|defined in| e918a77e_1e35_56b9_adb6_5727c2a5b3ad
  style 52d71990_0f70_0577_cd05_bf7e690d4548 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-valibot/src/schema.types.ts lines 40–49

export interface CreateUpdateSchema {
	<TTable extends Table>(table: TTable): BuildSchema<'update', TTable['_']['columns'], undefined>;
	<
		TTable extends Table,
		TRefine extends BuildRefine<Pick<TTable['_']['columns'], keyof TTable['$inferInsert']>>,
	>(
		table: TTable,
		refine?: TRefine,
	): BuildSchema<'update', TTable['_']['columns'], TRefine>;
}

Frequently Asked Questions

What is the CreateUpdateSchema type?
CreateUpdateSchema is a type/interface in the drizzle-orm codebase, defined in drizzle-valibot/src/schema.types.ts.
Where is CreateUpdateSchema defined?
CreateUpdateSchema is defined in drizzle-valibot/src/schema.types.ts at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free