getViewConfig() — drizzle-orm Function Reference
Architecture documentation for the getViewConfig() function in utils.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD fb99a8be_51b9_b732_6ea2_248f76d676a7["getViewConfig()"] ce49a5a3_688d_ddce_fd32_28428e51cae2["utils.ts"] fb99a8be_51b9_b732_6ea2_248f76d676a7 -->|defined in| ce49a5a3_688d_ddce_fd32_28428e51cae2 style fb99a8be_51b9_b732_6ea2_248f76d676a7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/utils.ts lines 80–88
export function getViewConfig<
TName extends string = string,
TExisting extends boolean = boolean,
>(view: PgView<TName, TExisting>) {
return {
...view[ViewBaseConfig],
...view[PgViewConfig],
};
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getViewConfig() do?
getViewConfig() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/utils.ts.
Where is getViewConfig() defined?
getViewConfig() is defined in drizzle-orm/src/pg-core/utils.ts at line 80.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free