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

getOperators() — drizzle-orm Function Reference

Architecture documentation for the getOperators() function in relations.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  f5f60604_ff72_944f_e31f_4a4d7018c310["getOperators()"]
  409d12ce_deae_c2f7_0836_58b0ed0e7ad2["relations.ts"]
  f5f60604_ff72_944f_e31f_4a4d7018c310 -->|defined in| 409d12ce_deae_c2f7_0836_58b0ed0e7ad2
  style f5f60604_ff72_944f_e31f_4a4d7018c310 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/relations.ts lines 159–184

export function getOperators() {
	return {
		and,
		between,
		eq,
		exists,
		gt,
		gte,
		ilike,
		inArray,
		isNull,
		isNotNull,
		like,
		lt,
		lte,
		ne,
		not,
		notBetween,
		notExists,
		notLike,
		notIlike,
		notInArray,
		or,
		sql,
	};
}

Domain

Subdomains

Frequently Asked Questions

What does getOperators() do?
getOperators() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/relations.ts.
Where is getOperators() defined?
getOperators() is defined in drizzle-orm/src/relations.ts at line 159.

Analyze Your Own Codebase

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

Try Supermodel Free