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

update() — drizzle-orm Function Reference

Architecture documentation for the update() function in views.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  5cc1eced_6b24_de75_7659_2522dbf06f3b["update()"]
  43098924_7a51_00b2_d203_01805b0b91ec["IntrospectProgress"]
  5cc1eced_6b24_de75_7659_2522dbf06f3b -->|defined in| 43098924_7a51_00b2_d203_01805b0b91ec
  b551af53_d055_cfc5_a043_43f8349532ba["introspectPostgres()"]
  b551af53_d055_cfc5_a043_43f8349532ba -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  9b71a219_e1ee_1992_6e20_813cb20a30e4["introspectGel()"]
  9b71a219_e1ee_1992_6e20_813cb20a30e4 -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  c465c2b0_9f86_6871_dbf5_482dcb56eb7f["introspectMysql()"]
  c465c2b0_9f86_6871_dbf5_482dcb56eb7f -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  22c80d66_3d84_525c_9c1a_c2cd78c34509["introspectSingleStore()"]
  22c80d66_3d84_525c_9c1a_c2cd78c34509 -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  6721899d_8c29_4a37_5746_09607f0fe2fd["introspectSqlite()"]
  6721899d_8c29_4a37_5746_09607f0fe2fd -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  5b6dc68d_c880_abb7_af7d_0d79adb2f094["introspectLibSQL()"]
  5b6dc68d_c880_abb7_af7d_0d79adb2f094 -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  9da5140a_01e1_ca91_0a93_0dc2dc616897["sqliteIntrospect()"]
  9da5140a_01e1_ca91_0a93_0dc2dc616897 -->|calls| 5cc1eced_6b24_de75_7659_2522dbf06f3b
  style 5cc1eced_6b24_de75_7659_2522dbf06f3b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/cli/views.ts lines 480–488

	public update(
		stage: IntrospectStage,
		count: number,
		status: IntrospectStatus,
	) {
		this.state[stage].count = count;
		this.state[stage].status = status;
		this.requestLayout();
	}

Domain

Subdomains

Frequently Asked Questions

What does update() do?
update() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/views.ts.
Where is update() defined?
update() is defined in drizzle-kit/src/cli/views.ts at line 480.
What calls update()?
update() is called by 7 function(s): introspectGel, introspectLibSQL, introspectMysql, introspectPostgres, introspectSingleStore, introspectSqlite, sqliteIntrospect.

Analyze Your Own Codebase

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

Try Supermodel Free