chore: mark jsonSuperSetOf as experimental and for internal use

This commit is contained in:
Marc-Roig 2023-07-20 08:51:06 +02:00
parent 2a2faea1d4
commit db97bf9ff3
No known key found for this signature in database
GPG Key ID: FB4E2C43A0BEE249
2 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ const applyOperator = (qb, column, operator, value) => {
break;
}
// Experimental, only for internal use
// Only on MySQL, PostgreSQL and CockroachDB.
// https://knexjs.org/guide/query-builder.html#wherejsonsupersetof
case '$jsonSupersetOf': {

View File

@ -22,6 +22,7 @@ const WHERE_OPERATORS = [
'$notContains',
'$containsi',
'$notContainsi',
// Experimental, only for internal use
'$jsonSupersetOf',
];