@sqb/connect 4.11.0 → 4.11.2

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.
@@ -70,7 +70,7 @@ class CreateCommand {
70
70
  }
71
71
  column_field_metadata_js_1.ColumnFieldMetadata.checkEnumValue(col, v);
72
72
  const fieldName = prefix + col.fieldName + suffix;
73
- const k = '$input_' + fieldName;
73
+ const k = ('I$_' + fieldName).substring(0, 30);
74
74
  ctx.queryValues[fieldName] = (0, builder_1.Param)({
75
75
  name: k,
76
76
  dataType: col.dataType,
@@ -65,7 +65,7 @@ class UpdateCommand {
65
65
  continue;
66
66
  column_field_metadata_js_1.ColumnFieldMetadata.checkEnumValue(col, v);
67
67
  const fieldName = prefix + col.fieldName + suffix;
68
- const k = '$input_' + fieldName;
68
+ const k = ('I$_' + fieldName).substring(0, 30);
69
69
  ctx.queryValues[fieldName] = (0, builder_1.Param)({
70
70
  name: k,
71
71
  dataType: col.dataType,
@@ -67,7 +67,7 @@ export class CreateCommand {
67
67
  }
68
68
  ColumnFieldMetadata.checkEnumValue(col, v);
69
69
  const fieldName = prefix + col.fieldName + suffix;
70
- const k = '$input_' + fieldName;
70
+ const k = ('I$_' + fieldName).substring(0, 30);
71
71
  ctx.queryValues[fieldName] = Param({
72
72
  name: k,
73
73
  dataType: col.dataType,
@@ -62,7 +62,7 @@ export class UpdateCommand {
62
62
  continue;
63
63
  ColumnFieldMetadata.checkEnumValue(col, v);
64
64
  const fieldName = prefix + col.fieldName + suffix;
65
- const k = '$input_' + fieldName;
65
+ const k = ('I$_' + fieldName).substring(0, 30);
66
66
  ctx.queryValues[fieldName] = Param({
67
67
  name: k,
68
68
  dataType: col.dataType,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqb/connect",
3
3
  "description": "Multi-dialect database connection framework written with TypeScript",
4
- "version": "4.11.0",
4
+ "version": "4.11.2",
5
5
  "author": "Panates",
6
6
  "contributors": [
7
7
  "Eray Hanoglu <e.hanoglu@panates.com>",
@@ -41,7 +41,7 @@
41
41
  "putil-merge": "^3.12.1",
42
42
  "putil-promisify": "^1.10.1",
43
43
  "putil-varhelpers": "^1.6.5",
44
- "reflect-metadata": "^0.1.14",
44
+ "reflect-metadata": "^0.2.1",
45
45
  "strict-typed-events": "^2.3.3",
46
46
  "ts-gems": "^3.2.1"
47
47
  },
@@ -50,7 +50,7 @@
50
50
  "@types/lodash": "^4.17.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@sqb/builder": "^4.11.0"
53
+ "@sqb/builder": "^4.11.2"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=16.0",
package/cjs/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/esm/types.js DELETED
@@ -1 +0,0 @@
1
- export {};
package/types/types.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { DeepPickWritable, HighDeepNullish } from 'ts-gems';
2
- export type PartialInput<T> = HighDeepNullish<DeepPickWritable<T>>;
3
- export type PartialOutput<T> = HighDeepNullish<T>;
4
- export type EntityInput<T> = PartialInput<T>;
5
- export type EntityOutput<T> = PartialOutput<T>;