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
  50a44244_b605_b7b3_96cc_f363745e924d["withCheckOption()"]
  bcde1df2_655f_25e6_bffb_1dff75c41d11["ViewBuilderCore"]
  50a44244_b605_b7b3_96cc_f363745e924d -->|defined in| bcde1df2_655f_25e6_bffb_1dff75c41d11
  style 50a44244_b605_b7b3_96cc_f363745e924d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/view.ts lines 58–63

	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/singlestore-core/view.ts.
Where is withCheckOption() defined?
withCheckOption() is defined in drizzle-orm/src/singlestore-core/view.ts at line 58.

Analyze Your Own Codebase

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

Try Supermodel Free