Skip to content

postgrelize / WhereFactory

Type Alias: WhereFactory ​

WhereFactory = {(attribute, logic): Where; (attribute, comparator, logic): Where; }

Defined in: src/expressions/methods.ts:107

Call signatures of where.

Call Signature ​

(attribute, logic): Where

Parameters ​

attribute ​

unknown

Left-hand expression.

logic ​

unknown

Right-hand value or condition object, compared with =.

Returns ​

Where

Call Signature ​

(attribute, comparator, logic): Where

Parameters ​

attribute ​

unknown

Left-hand expression.

comparator ​

string | symbol

Op.* symbol or SQL operator string such as '>='.

logic ​

unknown

Right-hand value.

Returns ​

Where

Released under the MIT License.