MCPcopy
hub / github.com/drizzle-team/drizzle-orm / eq

Function eq

drizzle-orm/src/sql/expressions/conditions.ts:62–64  ·  view source on GitHub ↗
(left: SQLWrapper, right: unknown)

Source from the content-addressed store, hash-verified

60 * @see isNull for a way to test equality to NULL.
61 */
62export const eq: BinaryOperator = (left: SQLWrapper, right: unknown): SQL => {
63 return sql`${left} = ${bindIfParam(right, left)}`;
64};
65
66/**
67 * Test that two values are not equal.

Callers 15

mysql.tsFile · 0.90
pg.tsFile · 0.90
sqlite.tsFile · 0.90
singlestore.tsFile · 0.90
gel.tsFile · 0.90
mysql.test.tsFile · 0.90
pg.test.tsFile · 0.90
turso.test.tsFile · 0.90
vercel.test.tsFile · 0.90

Calls 2

sqlFunction · 0.90
bindIfParamFunction · 0.85

Tested by 1

funcFunction · 0.72