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

Relationship Graph

Source Code

drizzle-zod/tests/pg.test.ts lines 595–595

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

Analyze Your Own Codebase

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

Try Supermodel Free