@squidcloud/client 1.0.231 → 1.0.233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,7 @@ export interface CompositeCondition<Doc extends DocumentData = any> {
|
|
|
36
36
|
export declare function isSimpleCondition(condition: Condition): condition is SimpleCondition;
|
|
37
37
|
type CompositeConditionOperator = '>=' | '<=' | '>' | '<';
|
|
38
38
|
/** An operator in a query condition. */
|
|
39
|
-
export type Operator = '==' | '!=' | CompositeConditionOperator | 'like' | 'not like' | 'like_cs' | 'not like_cs' | '
|
|
39
|
+
export type Operator = '==' | '!=' | CompositeConditionOperator | 'like' | 'not like' | 'like_cs' | 'not like_cs' | 'array_includes_some' | 'array_includes_all' | 'array_not_includes';
|
|
40
40
|
export declare const ALL_OPERATORS: Array<Operator>;
|
|
41
41
|
/** A definition of a sort by a filed. */
|
|
42
42
|
export interface FieldSort<Doc> {
|
|
@@ -108,7 +108,7 @@ export declare abstract class BaseQueryBuilder<MyDocType extends DocumentData> {
|
|
|
108
108
|
* @param values The values to check for inclusion in the field array.
|
|
109
109
|
* @returns The query builder.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
arrayIncludesSome(fieldName: (keyof MyDocType & FieldName) | string, values: Array<PrimitiveFieldType>): this;
|
|
112
112
|
/**
|
|
113
113
|
* Adds a condition to the query to check if the specified field includes all the given values.
|
|
114
114
|
*
|