preparePgAlterViewAddWithOptionJson() — drizzle-orm Function Reference
Architecture documentation for the preparePgAlterViewAddWithOptionJson() function in jsonStatements.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD d7de9b79_98aa_ca07_dc35_998bf8e35a24["preparePgAlterViewAddWithOptionJson()"] 6139f734_8ada_c641_9fec_9a55cfdf376f["jsonStatements.ts"] d7de9b79_98aa_ca07_dc35_998bf8e35a24 -->|defined in| 6139f734_8ada_c641_9fec_9a55cfdf376f c7a398db_43c9_7771_09b7_73bc09e703e8["applyPgSnapshotsDiff()"] c7a398db_43c9_7771_09b7_73bc09e703e8 -->|calls| d7de9b79_98aa_ca07_dc35_998bf8e35a24 style d7de9b79_98aa_ca07_dc35_998bf8e35a24 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/jsonStatements.ts lines 3484–3497
export const preparePgAlterViewAddWithOptionJson = (
name: string,
schema: string,
materialized: boolean,
withOption: MatViewWithOption | ViewWithOption,
): JsonAlterViewAddWithOptionStatement => {
return {
type: 'alter_view_add_with_option',
name,
schema,
materialized: materialized,
with: withOption,
} as JsonAlterViewAddWithOptionStatement;
};
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does preparePgAlterViewAddWithOptionJson() do?
preparePgAlterViewAddWithOptionJson() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/jsonStatements.ts.
Where is preparePgAlterViewAddWithOptionJson() defined?
preparePgAlterViewAddWithOptionJson() is defined in drizzle-kit/src/jsonStatements.ts at line 3484.
What calls preparePgAlterViewAddWithOptionJson()?
preparePgAlterViewAddWithOptionJson() is called by 1 function(s): applyPgSnapshotsDiff.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free