Home / Class/ Check Class — drizzle-orm Architecture

Check Class — drizzle-orm Architecture

Architecture documentation for the Check class in checks.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  2f32e1c2_9bd5_edc3_40bc_e06a56416baa["Check"]
  171b1831_b7c8_175e_cfcd_84202c037834["checks.ts"]
  2f32e1c2_9bd5_edc3_40bc_e06a56416baa -->|defined in| 171b1831_b7c8_175e_cfcd_84202c037834
  0a607ddd_cbf6_c566_41be_0bb73eb3d063["constructor()"]
  2f32e1c2_9bd5_edc3_40bc_e06a56416baa -->|method| 0a607ddd_cbf6_c566_41be_0bb73eb3d063

Relationship Graph

Source Code

drizzle-orm/src/gel-core/checks.ts lines 18–28

export class Check {
	static readonly [entityKind]: string = 'GelCheck';

	readonly name: string;
	readonly value: SQL;

	constructor(public table: GelTable, builder: CheckBuilder) {
		this.name = builder.name;
		this.value = builder.value;
	}
}

Domain

Frequently Asked Questions

What is the Check class?
Check is a class in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/checks.ts.
Where is Check defined?
Check is defined in drizzle-orm/src/gel-core/checks.ts at line 18.

Analyze Your Own Codebase

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

Try Supermodel Free