Home / Type/ ViewWithConfig Type — drizzle-orm Architecture

ViewWithConfig Type — drizzle-orm Architecture

Architecture documentation for the ViewWithConfig type/interface in view.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  058f3a14_2834_4b74_9b04_71a87b15beee["ViewWithConfig"]
  257a76b8_a6d7_188d_c192_237373f7f9c0["view.ts"]
  058f3a14_2834_4b74_9b04_71a87b15beee -->|defined in| 257a76b8_a6d7_188d_c192_237373f7f9c0
  style 058f3a14_2834_4b74_9b04_71a87b15beee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/view.ts lines 15–19

export type ViewWithConfig = RequireAtLeastOne<{
	checkOption: 'local' | 'cascaded';
	securityBarrier: boolean;
	securityInvoker: boolean;
}>;

Frequently Asked Questions

What is the ViewWithConfig type?
ViewWithConfig is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/view.ts.
Where is ViewWithConfig defined?
ViewWithConfig is defined in drizzle-orm/src/gel-core/view.ts at line 15.

Analyze Your Own Codebase

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

Try Supermodel Free