notInArray() — drizzle-orm Function Reference
Architecture documentation for the notInArray() function in conditions.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD da1be03b_2002_d64f_1b59_fc094c424158["notInArray()"] 57e6e1af_7162_5b6e_bfcf_9d9935f60d31["conditions.ts"] da1be03b_2002_d64f_1b59_fc094c424158 -->|defined in| 57e6e1af_7162_5b6e_bfcf_9d9935f60d31 4c6d62d9_6b87_a37a_f778_9a0034345725["bindIfParam()"] da1be03b_2002_d64f_1b59_fc094c424158 -->|calls| 4c6d62d9_6b87_a37a_f778_9a0034345725 style da1be03b_2002_d64f_1b59_fc094c424158 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sql/expressions/conditions.ts lines 322–334
export function notInArray(
column: SQLWrapper,
values: (unknown | Placeholder)[] | SQLWrapper,
): SQL {
if (Array.isArray(values)) {
if (values.length === 0) {
return sql`true`;
}
return sql`${column} not in ${values.map((v) => bindIfParam(v, column))}`;
}
return sql`${column} not in ${bindIfParam(values, column)}`;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does notInArray() do?
notInArray() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sql/expressions/conditions.ts.
Where is notInArray() defined?
notInArray() is defined in drizzle-orm/src/sql/expressions/conditions.ts at line 322.
What does notInArray() call?
notInArray() 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