orchid-orm 1.17.20 → 1.17.21
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/dist/index.d.ts +15 -15
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export { OrchidOrmError, OrchidOrmInternalError, columnTypes, raw, testTransacti
|
|
|
3
3
|
import { getStackTrace, applyMixins, getCallerFilePath, snakeCaseKey, toSnakeCase, emptyArray, toArray } from 'orchid-core';
|
|
4
4
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
function createBaseTable({
|
|
7
7
|
columnTypes: columnTypesArg,
|
|
8
8
|
snakeCase,
|
|
9
9
|
filePath: filePathArg,
|
|
@@ -11,7 +11,7 @@ const createBaseTable = ({
|
|
|
11
11
|
exportAs = "BaseTable",
|
|
12
12
|
language,
|
|
13
13
|
schemaProvider: schemaProviderArg
|
|
14
|
-
} = {})
|
|
14
|
+
} = {}) {
|
|
15
15
|
var _a;
|
|
16
16
|
const columnTypes$1 = typeof columnTypesArg === "function" ? columnTypesArg(
|
|
17
17
|
columnTypes
|
|
@@ -109,7 +109,7 @@ const createBaseTable = ({
|
|
|
109
109
|
applyMixins(base, [QueryHooks]);
|
|
110
110
|
base.prototype.types = columnTypes$1;
|
|
111
111
|
return base;
|
|
112
|
-
}
|
|
112
|
+
}
|
|
113
113
|
|
|
114
114
|
const getThroughRelation = (table, through) => {
|
|
115
115
|
var _a;
|