pg-manipulator 1.0.13 → 1.0.15

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.
@@ -7,6 +7,6 @@ export type users_select = {
7
7
  password: string | undefined;
8
8
  language: string | undefined;
9
9
  type: number | undefined;
10
- where: users_where;
11
- order: users_order;
10
+ where: users_where | undefined;
11
+ order: users_order | undefined;
12
12
  };
@@ -14,8 +14,8 @@ export type ${table.name}_select = {
14
14
  ${table.columns
15
15
  .map((column) => {
16
16
  return `\t${column.name}: ${select.get_type(column.value.type)}\n`;
17
- }).join('')}\twhere: ${table.name}_where
18
- order: ${table.name}_order
17
+ }).join('')}\twhere: ${table.name}_where | undefined
18
+ order: ${table.name}_order | undefined
19
19
  }`);
20
20
  this.database = database;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",