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

mView() — drizzle-orm Function Reference

Architecture documentation for the mView() function in pg.test.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  f276e37b_9d91_51a0_c266_e2a038758abb["mView()"]
  494ada20_7a0b_fdd4_0bd2_5b98f1e44957["pg.test.ts"]
  f276e37b_9d91_51a0_c266_e2a038758abb -->|defined in| 494ada20_7a0b_fdd4_0bd2_5b98f1e44957
  style f276e37b_9d91_51a0_c266_e2a038758abb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-typebox/tests/pg.test.ts lines 540–540

	const mView = pgMaterializedView('test').as((qb) => qb.select().from(table));

Subdomains

Frequently Asked Questions

What does mView() do?
mView() is a function in the drizzle-orm codebase, defined in drizzle-typebox/tests/pg.test.ts.
Where is mView() defined?
mView() is defined in drizzle-typebox/tests/pg.test.ts at line 540.

Analyze Your Own Codebase

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

Try Supermodel Free