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

ormCoreVersions() — drizzle-orm Function Reference

Architecture documentation for the ormCoreVersions() function in utils.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  0762c41b_fa7e_14b7_efe4_4e1d741472cb["ormCoreVersions()"]
  34140e39_ad92_a121_09b2_e3e2624fd021["utils.ts"]
  0762c41b_fa7e_14b7_efe4_4e1d741472cb -->|defined in| 34140e39_ad92_a121_09b2_e3e2624fd021
  8bad32d6_14d2_417b_c40f_21be6557095f["version()"]
  8bad32d6_14d2_417b_c40f_21be6557095f -->|calls| 0762c41b_fa7e_14b7_efe4_4e1d741472cb
  style 0762c41b_fa7e_14b7_efe4_4e1d741472cb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/cli/utils.ts lines 103–112

export const ormCoreVersions = async () => {
	try {
		const { compatibilityVersion, npmVersion } = await import(
			'drizzle-orm/version'
		);
		return { compatibilityVersion, npmVersion };
	} catch (e) {
		return {};
	}
};

Domain

Subdomains

Called By

Frequently Asked Questions

What does ormCoreVersions() do?
ormCoreVersions() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/utils.ts.
Where is ormCoreVersions() defined?
ormCoreVersions() is defined in drizzle-kit/src/cli/utils.ts at line 103.
What calls ormCoreVersions()?
ormCoreVersions() is called by 1 function(s): version.

Analyze Your Own Codebase

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

Try Supermodel Free