@trudb/tru-common-lib 0.0.259 → 0.0.261
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.
- package/esm2020/lib/classes/tru-query-predicate-manager.mjs +26 -34
- package/fesm2015/trudb-tru-common-lib.mjs +25 -33
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +25 -33
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/classes/tru-query-predicate-manager.d.ts +13 -23
- package/package.json +1 -1
|
@@ -5,32 +5,22 @@ export declare class TruQueryPredicateManager {
|
|
|
5
5
|
_predicateName: string;
|
|
6
6
|
_predicateMap: any;
|
|
7
7
|
constructor(propertyQueryPath: Array<string>, predicateName: string, predicateMap: any);
|
|
8
|
-
|
|
9
|
-
* Returns a new query predicate.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} field - Name of the storage field relative to the intent property.
|
|
12
|
-
* @param {string} operator - Name of the predicate operator.
|
|
13
|
-
* @param {*} value - Literal value.
|
|
14
|
-
*/
|
|
15
|
-
create: (field: string, operator: string, value: any, overQuoted: boolean) => any;
|
|
16
|
-
/**
|
|
17
|
-
* Clears the query predicate.
|
|
18
|
-
*/
|
|
19
|
-
clear: () => void;
|
|
8
|
+
private setPredicate;
|
|
20
9
|
/**
|
|
21
10
|
* Returns the query predicate.
|
|
22
11
|
*/
|
|
23
12
|
get: () => TruPredicate | null;
|
|
24
13
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
* Clears the query predicate.
|
|
15
|
+
*/
|
|
16
|
+
clear: () => void;
|
|
17
|
+
/**
|
|
18
|
+
* Returns a new query predicate.
|
|
19
|
+
*
|
|
20
|
+
* @param {string} field - Name of the storage field relative to the intent property.
|
|
21
|
+
* @param {string} operator - Name of the predicate operator.
|
|
22
|
+
* @param {*} value - Literal value.
|
|
23
|
+
*/
|
|
24
|
+
create: (field: string, operator: string, value: any, overQuoted: boolean) => any;
|
|
25
|
+
set: (fieldOrPredicate: string | TruPredicate, operator?: string, value?: any, overQuoted?: boolean) => void;
|
|
36
26
|
}
|