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

Relationship Graph

Source Code

drizzle-valibot/tests/pg.test.ts lines 546–546

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

Analyze Your Own Codebase

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

Try Supermodel Free