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

notBetween() — drizzle-orm Function Reference

Architecture documentation for the notBetween() function in conditions.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  f024aba0_515a_68e1_afcc_53b5ffffd6cf["notBetween()"]
  57e6e1af_7162_5b6e_bfcf_9d9935f60d31["conditions.ts"]
  f024aba0_515a_68e1_afcc_53b5ffffd6cf -->|defined in| 57e6e1af_7162_5b6e_bfcf_9d9935f60d31
  4c6d62d9_6b87_a37a_f778_9a0034345725["bindIfParam()"]
  f024aba0_515a_68e1_afcc_53b5ffffd6cf -->|calls| 4c6d62d9_6b87_a37a_f778_9a0034345725
  style f024aba0_515a_68e1_afcc_53b5ffffd6cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sql/expressions/conditions.ts lines 500–511

export function notBetween(
	column: SQLWrapper,
	min: unknown,
	max: unknown,
): SQL {
	return sql`${column} not between ${
		bindIfParam(
			min,
			column,
		)
	} and ${bindIfParam(max, column)}`;
}

Domain

Subdomains

Frequently Asked Questions

What does notBetween() do?
notBetween() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sql/expressions/conditions.ts.
Where is notBetween() defined?
notBetween() is defined in drizzle-orm/src/sql/expressions/conditions.ts at line 500.
What does notBetween() call?
notBetween() calls 1 function(s): bindIfParam.

Analyze Your Own Codebase

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

Try Supermodel Free