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
  a4471bb2_af07_e73a_d022_97392aedd8b6["ViewWithConfig"]
  a44cb974_fe5a_c572_a91a_51fe8c82034c["view.ts"]
  a4471bb2_af07_e73a_d022_97392aedd8b6 -->|defined in| a44cb974_fe5a_c572_a91a_51fe8c82034c
  style a4471bb2_af07_e73a_d022_97392aedd8b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-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/pg-core/view.ts.
Where is ViewWithConfig defined?
ViewWithConfig is defined in drizzle-orm/src/pg-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