Home / Function/ withCheckOption() — drizzle-orm Function Reference

withCheckOption() — drizzle-orm Function Reference

Architecture documentation for the withCheckOption() function in view.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  471c942d_1230_b5ec_52d1_a2937e53859c["withCheckOption()"]
  6b3708db_738c_3b26_2eda_7803c654a946["ViewBuilderCore"]
  471c942d_1230_b5ec_52d1_a2937e53859c -->|defined in| 6b3708db_738c_3b26_2eda_7803c654a946
  style 471c942d_1230_b5ec_52d1_a2937e53859c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/view.ts lines 49–54

	withCheckOption(
		withCheckOption?: Exclude<ViewBuilderConfig['withCheckOption'], undefined>,
	): this {
		this.config.withCheckOption = withCheckOption ?? 'cascaded';
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does withCheckOption() do?
withCheckOption() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/view.ts.
Where is withCheckOption() defined?
withCheckOption() is defined in drizzle-orm/src/mysql-core/view.ts at line 49.

Analyze Your Own Codebase

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

Try Supermodel Free