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
  0ca48796_af41_c826_ca70_aaf89ec10a6d["withNoData()"]
  202aaf14_d1b3_2bdb_21b9_fc538e90051b["GelRefreshMaterializedView"]
  0ca48796_af41_c826_ca70_aaf89ec10a6d -->|defined in| 202aaf14_d1b3_2bdb_21b9_fc538e90051b
  style 0ca48796_af41_c826_ca70_aaf89ec10a6d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/refresh-materialized-view.ts lines 58–64

	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/gel-core/query-builders/refresh-materialized-view.ts.
Where is withNoData() defined?
withNoData() is defined in drizzle-orm/src/gel-core/query-builders/refresh-materialized-view.ts at line 58.

Analyze Your Own Codebase

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

Try Supermodel Free