@starbemtech/star-db-query-builder 1.3.0 → 1.3.1

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/CHANGELOG.md CHANGED
@@ -46,8 +46,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
46
46
 
47
47
  ## [Unreleased]
48
48
 
49
- ## [] - 2025-09-08
50
-
51
49
  ### Planned
52
50
 
53
51
  - **MongoDB Support**: MongoDB support
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2025-09-08T22:40:32.935Z
119
+ at 2026-02-27T12:37:32.125Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2025-09-08T22:40:32.927Z
119
+ at 2026-02-27T12:37:32.116Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -670,7 +670,7 @@ export const createMysqlClient = (
670
670
  <div class='footer quiet pad2 space-top1 center small'>
671
671
  Code coverage generated by
672
672
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
673
- at 2025-09-08T22:40:32.927Z
673
+ at 2026-02-27T12:37:32.116Z
674
674
  </div>
675
675
  <script src="prettify.js"></script>
676
676
  <script>
@@ -808,7 +808,7 @@ export const createPgClient = async (
808
808
  <div class='footer quiet pad2 space-top1 center small'>
809
809
  Code coverage generated by
810
810
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
811
- at 2025-09-08T22:40:32.927Z
811
+ at 2026-02-27T12:37:32.116Z
812
812
  </div>
813
813
  <script src="prettify.js"></script>
814
814
  <script>
@@ -670,7 +670,7 @@ export const createMysqlClient = (
670
670
  <div class='footer quiet pad2 space-top1 center small'>
671
671
  Code coverage generated by
672
672
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
673
- at 2025-09-08T22:40:32.935Z
673
+ at 2026-02-27T12:37:32.125Z
674
674
  </div>
675
675
  <script src="prettify.js"></script>
676
676
  <script>
@@ -808,7 +808,7 @@ export const createPgClient = async (
808
808
  <div class='footer quiet pad2 space-top1 center small'>
809
809
  Code coverage generated by
810
810
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
811
- at 2025-09-08T22:40:32.935Z
811
+ at 2026-02-27T12:37:32.125Z
812
812
  </div>
813
813
  <script src="prettify.js"></script>
814
814
  <script>
@@ -10,7 +10,7 @@ export interface QueryExec {
10
10
  text: string;
11
11
  values?: any[];
12
12
  }
13
- type SimpleValue = string | number | boolean | Date;
13
+ type SimpleValue = string | number | boolean | Date | null;
14
14
  export interface OperatorCondition {
15
15
  operator: 'ILIKE' | 'LIKE' | '=' | '>' | '<' | 'IN' | 'BETWEEN' | '!=' | '<=' | '>=' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'IS NULL' | 'IS NOT NULL' | 'NOT EXISTS';
16
16
  value: SimpleValue | SimpleValue[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starbemtech/star-db-query-builder",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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",
@@ -59,7 +59,7 @@
59
59
  "@types/jest": "^29.5.14",
60
60
  "@types/mysql": "^2.15.27",
61
61
  "@types/node": "^24.3.1",
62
- "@types/pg": "^8.15.5",
62
+ "@types/pg": "^8.16.0",
63
63
  "@types/promise-retry": "^1.1.6",
64
64
  "@types/uuid": "^10.0.0",
65
65
  "@typescript-eslint/eslint-plugin": "^7.18.0",
@@ -90,4 +90,4 @@
90
90
  }
91
91
  },
92
92
  "packageManager": "pnpm@8.6.2"
93
- }
93
+ }
package/src/core/types.ts CHANGED
@@ -13,7 +13,7 @@ export interface QueryExec {
13
13
  values?: any[]
14
14
  }
15
15
 
16
- type SimpleValue = string | number | boolean | Date
16
+ type SimpleValue = string | number | boolean | Date | null
17
17
 
18
18
  export interface OperatorCondition {
19
19
  operator: