@starbemtech/star-db-query-builder 1.0.24 → 1.0.25
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.
|
@@ -5,7 +5,7 @@ export interface QueryExec {
|
|
|
5
5
|
}
|
|
6
6
|
type SimpleValue = string | number | boolean | Date;
|
|
7
7
|
export interface OperatorCondition {
|
|
8
|
-
operator: 'LIKE' | '=' | '>' | '<' | 'IN' | 'BETWEEN' | '!=' | '<=' | '>=' | 'NOT IN' | 'LIKE' | 'NOT LIKE';
|
|
8
|
+
operator: 'ILIKE' | 'LIKE' | '=' | '>' | '<' | 'IN' | 'BETWEEN' | '!=' | '<=' | '>=' | 'NOT IN' | 'LIKE' | 'NOT LIKE';
|
|
9
9
|
value: SimpleValue | SimpleValue[];
|
|
10
10
|
}
|
|
11
11
|
export type LogicalOperator = 'OR' | 'AND';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starbemtech/star-db-query-builder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "A query builder to be used with mysql or postgres",
|
|
5
5
|
"author": "Julio Sousa <julio.sousa@starbem.app>",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"typescript": "^5.4.3"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
+
"@starbemtech/star-db-query-builder": "link:",
|
|
52
53
|
"mysql2": "^3.9.3",
|
|
53
54
|
"pg": "^8.11.3",
|
|
54
55
|
"uuid": "^9.0.1"
|