8 lines
11 KiB
Plaintext
8 lines
11 KiB
Plaintext
|
{
|
||
|
"version": 3,
|
||
|
"sources": ["../src/operators.ts"],
|
||
|
"sourcesContent": ["interface OpTypes {\n /**\n * Operator -|- (PG range is adjacent to operator)\n *\n * ```js\n * [Op.adjacent]: [1, 2]\n * ```\n * In SQL\n * ```sql\n * -|- [1, 2)\n * ```\n */\n readonly adjacent: unique symbol;\n /**\n * Operator ALL\n *\n * ```js\n * [Op.gt]: {\n * [Op.all]: literal('SELECT 1')\n * }\n * ```\n * In SQL\n * ```sql\n * > ALL (SELECT 1)\n * ```\n */\n readonly all: unique symbol;\n /**\n * Operator AND\n *\n * ```js\n * [Op.and]: {a: 5}\n * ```\n * In SQL\n * ```sql\n * AND (a = 5)\n * ```\n */\n readonly and: unique symbol;\n /**\n * Operator ANY ARRAY (PG only)\n *\n * ```js\n * [Op.any]: [2,3]\n * ```\n * In SQL\n * ```sql\n * ANY ARRAY[2, 3]::INTEGER\n * ```\n *\n * Operator LIKE ANY ARRAY (also works for iLike and notLike)\n *\n * ```js\n * [Op.like]: { [Op.any]: ['cat', 'hat']}\n * ```\n * In SQL\n * ```sql\n * LIKE ANY ARRAY['cat', 'hat']\n * ```\n */\n readonly any: unique symbol;\n /**\n * Operator BETWEEN\n *\n * ```js\n * [Op.between]: [6, 10]\n * ```\n * In SQL\n * ```sql\n * BETWEEN 6 AND 10\n * ```\n */\n readonly between: unique symbol;\n /**\n * With dialect specific column identifiers (PG in this example)\n *\n * ```js\n * [Op.col]: 'user.organization_id'\n * ```\n * In SQL\n * ```sql\n * = \"user\".\"organization_id\"\n * ```\n */\n readonly col: unique symbol;\n /**\n * Operator <@ (PG array contained by operator)\n *\n * ```js\n * [Op.contained]: [1, 2]\n * ```\n * In SQL\n * ```sql\n * <@ [1, 2)\n * ```\n */\n readonly contained: unique symbol;\n /**\n * Operator @> (PG array contains operator)\n *\n * ```js\n * [Op.contains]: [1, 2]\n * ```\n * In SQL\n * ```sql\n * @> [1, 2)\n * ```\n */\n readonly contains: unique symbol;\n /**\n * Operator LIKE\n *\n * ```js\n * [Op.endsWith]: 'hat'\n * ```\n * In SQL\n * ```sql\n * LIKE '%hat'\n * ```\n */\n readonly endsWith: unique symbol;\n /**\n * Operator =\n *\n * ```js\n * [Op.eq]: 3\n * ```\n * In SQL\n * ```sql\n * = 3\n * ```\n */\n readonly eq: unique symbol;\n /**\n * Operator >\n *\n * ```js\n * [Op.gt]: 6\n * ```\n * In SQL\n * ```sql\n * > 6\n * ```\n */\n readonly gt: unique symbol;\n /**\n * Operator >=\n *\n * ```js\n * [Op.gte]: 6\n * ```\n * In SQL\n * ```sql\n * >= 6\n * ```\n */\n readonly gte: unique symbol;\n\n /**\n * Operator ILIKE (case insensitive) (PG only)\n *\n * ```js\n * [Op.iLike]: '%hat'\n * ```\n * In SQL\n * ```sql\n * ILIKE '%hat'\n * ```\n */\n readonly iLike: unique symbol;\n /**\n * Operator IN\n *\n * ```js\n * [Op.in]: [1, 2]\n * ```\n * In SQL\n * ```sql\n * IN [1, 2]\n * ```\n */\n readonly in: unique symbol;\n /**\n * Operator ~* (PG only)\n *\n * ```js\n * [Op.iRegexp]: '^[h|a|t]'\n * ```\n * In SQL\n * ```sql\n * ~* '^[h|a|t]'\n * ```\n */\n readonly iRegexp: unique symbol;\n /**\n * Operator IS\n *\n * ```js\n * [Op.is]: null\n * ```\n * In SQL\n * ```sql\n * IS null\n * ```\n */\n readonly is: unique symbol;\n /**\n * Operator LIKE\n *\n * ```js\n * [Op.like]: '%hat'\n * ```\n * In SQL\n * ```sql\n * LIKE '%hat'\n * ```\n */\n readonly like: unique symbol;\n /**\n * Operator <\n *\n * ```js\n * [Op.lt]: 10\n * ```\n * In SQL\n * ```sql\n * < 10\n * ```\n */\n readonly lt: unique symbol;\n /**\n * Operator <=\n *\n * ```js\n * [Op.lte]: 10\n * ```\n * In SQL\n * ```sql\n * <= 10\n * ```\n */\n readonly lte: unique symbol;\n /**\n * Operator @@\n *\n * ```js\n * [Op.match]: Sequelize.fn('to_tsquery', 'fat & rat')`\n * ```\n * In SQL\n * ```sql\n * @@ to_tsquery('fat & rat')\n * ```\n */\n readonly match: unique symbol;\n /**\n * Operator !=\n *\n * ```js\n * [Op.ne]: 20\n * ```\n * In SQL\n * ```sql\n *
|
||
|
"mappings": ";;;;;;;AAAA;AAAA;AAAA;AAAA;AAqeO,MAAM,KAAc;AAAA,EACzB,IAAI,OAAO,IAAI;AAAA,EACf,IAAI,OAAO,IAAI;AAAA,EACf,KAAK,OAAO,IAAI;AAAA,EAChB,IAAI,OAAO,IAAI;AAAA,EACf,KAAK,OAAO,IAAI;AAAA,EAChB,IAAI,OAAO,IAAI;AAAA,EACf,KAAK,OAAO,IAAI;AAAA,EAChB,IAAI,OAAO,IAAI;AAAA,EACf,IAAI,OAAO,IAAI;AAAA,EACf,OAAO,OAAO,IAAI;AAAA,EAClB,MAAM,OAAO,IAAI;AAAA,EACjB,SAAS,OAAO,IAAI;AAAA,EACpB,OAAO,OAAO,IAAI;AAAA,EAClB,UAAU,OAAO,IAAI;AAAA,EACrB,YAAY,OAAO,IAAI;AAAA,EACvB,UAAU,OAAO,IAAI;AAAA,EACrB,WAAW,OAAO,IAAI;AAAA,EACtB,QAAQ,OAAO,IAAI;AAAA,EACnB,WAAW,OAAO,IAAI;AAAA,EACtB,SAAS,OAAO,IAAI;AAAA,EACpB,YAAY,OAAO,IAAI;AAAA,EACvB,SAAS,OAAO,IAAI;AAAA,EACpB,YAAY,OAAO,IAAI;AAAA,EACvB,SAAS,OAAO,IAAI;AAAA,EACpB,UAAU,OAAO,IAAI;AAAA,EACrB,WAAW,OAAO,IAAI;AAAA,EACtB,UAAU,OAAO,IAAI;AAAA,EACrB,YAAY,OAAO,IAAI;AAAA,EACvB,aAAa,OAAO,IAAI;AAAA,EACxB,eAAe,OAAO,IAAI;AAAA,EAC1B,cAAc,OAAO,IAAI;AAAA,EACzB,KAAK,OAAO,IAAI;AAAA,EAChB,IAAI,OAAO,IAAI;AAAA,EACf,KAAK,OAAO,IAAI;AAAA,EAChB,KAAK,OAAO,IAAI;AAAA,EAChB,QAAQ,OAAO,IAAI;AAAA,EACnB,KAAK,OAAO,IAAI;AAAA,EAChB,aAAa,OAAO,IAAI;AAAA,EACxB,MAAM,OAAO,IAAI;AAAA,EACjB,OAAO,OAAO,IAAI;AAAA;AAGpB,IAAO,oBAAQ;AAKf,OAAO,UAAU;",
|
||
|
"names": []
|
||
|
}
|