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
  6f659afb_578d_5ec2_0f5f_577e5680172f["mView()"]
  8ac1f151_3933_3e28_78d3_c96ee5b82ccc["pg.test.ts"]
  6f659afb_578d_5ec2_0f5f_577e5680172f -->|defined in| 8ac1f151_3933_3e28_78d3_c96ee5b82ccc
  style 6f659afb_578d_5ec2_0f5f_577e5680172f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-arktype/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-arktype/tests/pg.test.ts.
Where is mView() defined?
mView() is defined in drizzle-arktype/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