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

withNoData() — drizzle-orm Function Reference

Architecture documentation for the withNoData() function in refresh-materialized-view.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  9b09e1da_673d_3847_55cd_e1a51a35555f["withNoData()"]
  e665fd79_6d22_893b_6f78_718037f75288["PgRefreshMaterializedView"]
  9b09e1da_673d_3847_55cd_e1a51a35555f -->|defined in| e665fd79_6d22_893b_6f78_718037f75288
  style 9b09e1da_673d_3847_55cd_e1a51a35555f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/query-builders/refresh-materialized-view.ts lines 59–65

	withNoData(): this {
		if (this.config.concurrently !== undefined) {
			throw new Error('Cannot use concurrently and withNoData together');
		}
		this.config.withNoData = true;
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does withNoData() do?
withNoData() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/refresh-materialized-view.ts.
Where is withNoData() defined?
withNoData() is defined in drizzle-orm/src/pg-core/query-builders/refresh-materialized-view.ts at line 59.

Analyze Your Own Codebase

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

Try Supermodel Free