File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class QueryAssignment {
61
61
* @alias module:mapping~q
62
62
* @type {Object }
63
63
* @property {function } contains Represents the CQL operator "CONTAINS".
64
+ * @property {function } containsKey Represents the CQL operator "CONTAINS KEY".
64
65
* @property {function } in_ Represents the CQL operator "IN".
65
66
* @property {function } gt Represents the CQL operator greater than ">".
66
67
* @property {function } gte Represents the CQL operator greater than or equals to ">=" .
@@ -80,6 +81,10 @@ const q = {
80
81
return new QueryOperator ( 'CONTAINS' , value ) ;
81
82
} ,
82
83
84
+ containsKey : function containsKey ( value ) {
85
+ return new QueryOperator ( 'CONTAINS KEY' , value ) ;
86
+ } ,
87
+
83
88
in_ : function in_ ( arr ) {
84
89
if ( ! Array . isArray ( arr ) ) {
85
90
throw new errors . ArgumentError ( 'IN operator supports only Array values' ) ;
You can’t perform that action at this time.
0 commit comments