@sqb/connect 4.11.2 → 4.11.3
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.
|
@@ -199,7 +199,7 @@ class FindCommand {
|
|
|
199
199
|
const fieldName = (prefix || '').toLowerCase() +
|
|
200
200
|
el.fieldName.toUpperCase() +
|
|
201
201
|
(suffix || '').toLowerCase();
|
|
202
|
-
const fieldAlias = tableAlias + '_' + fieldName;
|
|
202
|
+
const fieldAlias = (tableAlias + '_' + fieldName).substring(0, 30);
|
|
203
203
|
this._selectColumns[fieldAlias] = {
|
|
204
204
|
field: el,
|
|
205
205
|
statement: tableAlias + '.' + fieldName + ' as ' + fieldAlias
|
|
@@ -196,7 +196,7 @@ export class FindCommand {
|
|
|
196
196
|
const fieldName = (prefix || '').toLowerCase() +
|
|
197
197
|
el.fieldName.toUpperCase() +
|
|
198
198
|
(suffix || '').toLowerCase();
|
|
199
|
-
const fieldAlias = tableAlias + '_' + fieldName;
|
|
199
|
+
const fieldAlias = (tableAlias + '_' + fieldName).substring(0, 30);
|
|
200
200
|
this._selectColumns[fieldAlias] = {
|
|
201
201
|
field: el,
|
|
202
202
|
statement: tableAlias + '.' + fieldName + ' as ' + fieldAlias
|
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.
|
|
4
|
+
"version": "4.11.3",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Eray Hanoglu <e.hanoglu@panates.com>",
|
|
@@ -41,7 +41,6 @@
|
|
|
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.2.1",
|
|
45
44
|
"strict-typed-events": "^2.3.3",
|
|
46
45
|
"ts-gems": "^3.2.1"
|
|
47
46
|
},
|
|
@@ -50,7 +49,8 @@
|
|
|
50
49
|
"@types/lodash": "^4.17.0"
|
|
51
50
|
},
|
|
52
51
|
"peerDependencies": {
|
|
53
|
-
"@sqb/builder": "^4.11.
|
|
52
|
+
"@sqb/builder": "^4.11.3",
|
|
53
|
+
"reflect-metadata": "^0.1.14 || ^0.2.2"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=16.0",
|