Home / Function/ preparePgAlterViewDropWithOptionJson() — drizzle-orm Function Reference

preparePgAlterViewDropWithOptionJson() — drizzle-orm Function Reference

Architecture documentation for the preparePgAlterViewDropWithOptionJson() function in jsonStatements.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  9b7b16b5_cc0f_c81c_3c7d_6f854715102b["preparePgAlterViewDropWithOptionJson()"]
  6139f734_8ada_c641_9fec_9a55cfdf376f["jsonStatements.ts"]
  9b7b16b5_cc0f_c81c_3c7d_6f854715102b -->|defined in| 6139f734_8ada_c641_9fec_9a55cfdf376f
  c7a398db_43c9_7771_09b7_73bc09e703e8["applyPgSnapshotsDiff()"]
  c7a398db_43c9_7771_09b7_73bc09e703e8 -->|calls| 9b7b16b5_cc0f_c81c_3c7d_6f854715102b
  style 9b7b16b5_cc0f_c81c_3c7d_6f854715102b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/jsonStatements.ts lines 3499–3512

export const preparePgAlterViewDropWithOptionJson = (
	name: string,
	schema: string,
	materialized: boolean,
	withOption: MatViewWithOption | ViewWithOption,
): JsonAlterViewDropWithOptionStatement => {
	return {
		type: 'alter_view_drop_with_option',
		name,
		schema,
		materialized: materialized,
		with: withOption,
	} as JsonAlterViewDropWithOptionStatement;
};

Domain

Subdomains

Frequently Asked Questions

What does preparePgAlterViewDropWithOptionJson() do?
preparePgAlterViewDropWithOptionJson() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/jsonStatements.ts.
Where is preparePgAlterViewDropWithOptionJson() defined?
preparePgAlterViewDropWithOptionJson() is defined in drizzle-kit/src/jsonStatements.ts at line 3499.
What calls preparePgAlterViewDropWithOptionJson()?
preparePgAlterViewDropWithOptionJson() 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