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

run() — drizzle-orm Function Reference

Architecture documentation for the run() function in common.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  65556fb8_f91f_f6b4_57a7_0bd27a4d61f9["run()"]
  763e0363_0164_92c1_7cf4_a9348fdadbfe["common.ts"]
  65556fb8_f91f_f6b4_57a7_0bd27a4d61f9 -->|defined in| 763e0363_0164_92c1_7cf4_a9348fdadbfe
  style 65556fb8_f91f_f6b4_57a7_0bd27a4d61f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/tests/indexes/common.ts lines 9–21

export const run = (
	suite: DialectSuite,
	beforeAllFn?: (context: any) => Promise<void>,
	afterAllFn?: (context: any) => Promise<void>,
) => {
	let context: any = {};
	beforeAll(beforeAllFn ? () => beforeAllFn(context) : () => {});
	test('index #1: simple index', () => suite.simpleIndex(context));
	test('index #2: vector index', () => suite.vectorIndex(context));
	test('index #3: fields that should be triggered on generate and not triggered on push', () =>
		suite.indexesToBeTriggered(context));
	afterAll(afterAllFn ? () => afterAllFn(context) : () => {});
};

Domain

Subdomains

Frequently Asked Questions

What does run() do?
run() is a function in the drizzle-orm codebase, defined in drizzle-kit/tests/indexes/common.ts.
Where is run() defined?
run() is defined in drizzle-kit/tests/indexes/common.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free