@mikro-orm/mysql 7.0.0-dev.1 → 7.0.0-dev.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.
- package/MySqlConnection.d.ts +3 -2
- package/MySqlConnection.js +27 -15
- package/MySqlDriver.d.ts +1 -1
- package/MySqlDriver.js +7 -11
- package/MySqlMikroORM.d.ts +1 -1
- package/MySqlMikroORM.js +7 -12
- package/index.d.ts +3 -3
- package/index.js +4 -24
- package/package.json +6 -14
- package/index.mjs +0 -234
package/MySqlConnection.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MysqlDialect } from 'kysely';
|
|
1
|
+
import { type ControlledTransaction, MysqlDialect } from 'kysely';
|
|
2
2
|
import { type PoolOptions } from 'mysql2';
|
|
3
|
-
import { AbstractSqlConnection } from '@mikro-orm/knex';
|
|
3
|
+
import { AbstractSqlConnection, type TransactionEventBroadcaster } from '@mikro-orm/knex';
|
|
4
4
|
export declare class MySqlConnection extends AbstractSqlConnection {
|
|
5
5
|
createKyselyDialect(overrides: PoolOptions): MysqlDialect;
|
|
6
6
|
mapOptions(overrides: PoolOptions): PoolOptions;
|
|
7
|
+
commit(ctx: ControlledTransaction<any, any>, eventBroadcaster?: TransactionEventBroadcaster): Promise<void>;
|
|
7
8
|
}
|
package/MySqlConnection.js
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const mysql2_1 = require("mysql2");
|
|
6
|
-
const knex_1 = require("@mikro-orm/knex");
|
|
7
|
-
class MySqlConnection extends knex_1.AbstractSqlConnection {
|
|
1
|
+
import { MysqlDialect } from 'kysely';
|
|
2
|
+
import { createPool } from 'mysql2';
|
|
3
|
+
import { Utils, AbstractSqlConnection } from '@mikro-orm/knex';
|
|
4
|
+
export class MySqlConnection extends AbstractSqlConnection {
|
|
8
5
|
createKyselyDialect(overrides) {
|
|
9
6
|
const options = this.mapOptions(overrides);
|
|
10
7
|
const password = options.password;
|
|
11
8
|
if (typeof password === 'function') {
|
|
12
|
-
return new
|
|
13
|
-
pool: async () =>
|
|
9
|
+
return new MysqlDialect({
|
|
10
|
+
pool: async () => createPool({
|
|
14
11
|
...options,
|
|
15
12
|
password: await password(),
|
|
16
13
|
}),
|
|
17
14
|
onCreateConnection: this.options.onCreateConnection ?? this.config.get('onCreateConnection'),
|
|
18
15
|
});
|
|
19
16
|
}
|
|
20
|
-
return new
|
|
21
|
-
pool:
|
|
17
|
+
return new MysqlDialect({
|
|
18
|
+
pool: createPool(options),
|
|
22
19
|
onCreateConnection: this.options.onCreateConnection ?? this.config.get('onCreateConnection'),
|
|
23
20
|
});
|
|
24
21
|
}
|
|
25
22
|
mapOptions(overrides) {
|
|
26
23
|
const ret = { ...this.getConnectionOptions() };
|
|
27
24
|
const pool = this.config.get('pool');
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
ret.connectionLimit = pool?.max;
|
|
26
|
+
ret.idleTimeout = pool?.idleTimeoutMillis;
|
|
30
27
|
if (this.config.get('multipleStatements')) {
|
|
31
28
|
ret.multipleStatements = this.config.get('multipleStatements');
|
|
32
29
|
}
|
|
@@ -38,7 +35,22 @@ class MySqlConnection extends knex_1.AbstractSqlConnection {
|
|
|
38
35
|
}
|
|
39
36
|
ret.supportBigNumbers = true;
|
|
40
37
|
ret.dateStrings = true;
|
|
41
|
-
return
|
|
38
|
+
return Utils.mergeConfig(ret, overrides);
|
|
39
|
+
}
|
|
40
|
+
async commit(ctx, eventBroadcaster) {
|
|
41
|
+
if (!ctx.isRolledBack && 'savepointName' in ctx) {
|
|
42
|
+
try {
|
|
43
|
+
await ctx.releaseSavepoint(ctx.savepointName).execute();
|
|
44
|
+
}
|
|
45
|
+
catch (e) {
|
|
46
|
+
/* v8 ignore next 5 */
|
|
47
|
+
// https://github.com/knex/knex/issues/805
|
|
48
|
+
if (e.errno !== 1305) {
|
|
49
|
+
throw e;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return this.logQuery(this.platform.getReleaseSavepointSQL(ctx.savepointName));
|
|
53
|
+
}
|
|
54
|
+
await super.commit(ctx, eventBroadcaster);
|
|
42
55
|
}
|
|
43
56
|
}
|
|
44
|
-
exports.MySqlConnection = MySqlConnection;
|
package/MySqlDriver.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Configuration, type EntityDictionary, type FilterQuery, type NativeInsertUpdateManyOptions, type QueryResult, type UpsertManyOptions } from '@mikro-orm/core';
|
|
2
2
|
import { AbstractSqlDriver, MySqlPlatform } from '@mikro-orm/knex';
|
|
3
|
-
import { MySqlConnection } from './MySqlConnection';
|
|
3
|
+
import { MySqlConnection } from './MySqlConnection.js';
|
|
4
4
|
export declare class MySqlDriver extends AbstractSqlDriver<MySqlConnection, MySqlPlatform> {
|
|
5
5
|
protected autoIncrementIncrement?: number;
|
|
6
6
|
constructor(config: Configuration);
|
package/MySqlDriver.js
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const knex_1 = require("@mikro-orm/knex");
|
|
6
|
-
const MySqlConnection_1 = require("./MySqlConnection");
|
|
7
|
-
class MySqlDriver extends knex_1.AbstractSqlDriver {
|
|
1
|
+
import { Utils, } from '@mikro-orm/core';
|
|
2
|
+
import { AbstractSqlDriver, MySqlPlatform } from '@mikro-orm/knex';
|
|
3
|
+
import { MySqlConnection } from './MySqlConnection.js';
|
|
4
|
+
export class MySqlDriver extends AbstractSqlDriver {
|
|
8
5
|
autoIncrementIncrement;
|
|
9
6
|
constructor(config) {
|
|
10
|
-
super(config, new
|
|
7
|
+
super(config, new MySqlPlatform(), MySqlConnection, ['kysely', 'mysql2']);
|
|
11
8
|
}
|
|
12
9
|
async getAutoIncrementIncrement(ctx) {
|
|
13
10
|
if (this.autoIncrementIncrement == null) {
|
|
14
11
|
// the increment step may differ when running a cluster, see https://github.com/mikro-orm/mikro-orm/issues/3828
|
|
15
12
|
const res = await this.connection.execute(`show variables like 'auto_increment_increment'`, [], 'get', ctx, { enabled: false });
|
|
16
|
-
/*
|
|
13
|
+
/* v8 ignore next */
|
|
17
14
|
this.autoIncrementIncrement = res?.Value ? +res?.Value : 1;
|
|
18
15
|
}
|
|
19
16
|
return this.autoIncrementIncrement;
|
|
@@ -35,7 +32,7 @@ class MySqlDriver extends knex_1.AbstractSqlDriver {
|
|
|
35
32
|
const autoIncrementIncrement = await this.getAutoIncrementIncrement(ctx);
|
|
36
33
|
let i = 0;
|
|
37
34
|
const rows = where.map(cond => {
|
|
38
|
-
if (res.insertId != null &&
|
|
35
|
+
if (res.insertId != null && Utils.isEmpty(cond)) {
|
|
39
36
|
return { [pks[0]]: res.insertId + (i++ * autoIncrementIncrement) };
|
|
40
37
|
}
|
|
41
38
|
if (cond[pks[0]] == null) {
|
|
@@ -50,4 +47,3 @@ class MySqlDriver extends knex_1.AbstractSqlDriver {
|
|
|
50
47
|
return res;
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
|
-
exports.MySqlDriver = MySqlDriver;
|
package/MySqlMikroORM.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MikroORM, type Options, type IDatabaseDriver, type EntityManager, type EntityManagerType } from '@mikro-orm/core';
|
|
2
|
-
import { MySqlDriver } from './MySqlDriver';
|
|
2
|
+
import { MySqlDriver } from './MySqlDriver.js';
|
|
3
3
|
import type { SqlEntityManager } from '@mikro-orm/knex';
|
|
4
4
|
/**
|
|
5
5
|
* @inheritDoc
|
package/MySqlMikroORM.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.MySqlMikroORM = void 0;
|
|
4
|
-
exports.defineMySqlConfig = defineMySqlConfig;
|
|
5
|
-
const core_1 = require("@mikro-orm/core");
|
|
6
|
-
const MySqlDriver_1 = require("./MySqlDriver");
|
|
1
|
+
import { defineConfig, MikroORM, } from '@mikro-orm/core';
|
|
2
|
+
import { MySqlDriver } from './MySqlDriver.js';
|
|
7
3
|
/**
|
|
8
4
|
* @inheritDoc
|
|
9
5
|
*/
|
|
10
|
-
class MySqlMikroORM extends
|
|
11
|
-
static DRIVER =
|
|
6
|
+
export class MySqlMikroORM extends MikroORM {
|
|
7
|
+
static DRIVER = MySqlDriver;
|
|
12
8
|
/**
|
|
13
9
|
* @inheritDoc
|
|
14
10
|
*/
|
|
@@ -22,8 +18,7 @@ class MySqlMikroORM extends core_1.MikroORM {
|
|
|
22
18
|
return super.initSync(options);
|
|
23
19
|
}
|
|
24
20
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return (0, core_1.defineConfig)({ driver: MySqlDriver_1.MySqlDriver, ...options });
|
|
21
|
+
/* v8 ignore next 3 */
|
|
22
|
+
export function defineMySqlConfig(options) {
|
|
23
|
+
return defineConfig({ driver: MySqlDriver, ...options });
|
|
29
24
|
}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from '@mikro-orm/knex';
|
|
2
|
-
export * from './MySqlDriver';
|
|
3
|
-
export * from './MySqlConnection';
|
|
4
|
-
export { MySqlMikroORM as MikroORM, MySqlOptions as Options, defineMySqlConfig as defineConfig, } from './MySqlMikroORM';
|
|
2
|
+
export * from './MySqlDriver.js';
|
|
3
|
+
export * from './MySqlConnection.js';
|
|
4
|
+
export { MySqlMikroORM as MikroORM, MySqlOptions as Options, defineMySqlConfig as defineConfig, } from './MySqlMikroORM.js';
|
package/index.js
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.defineConfig = exports.MikroORM = void 0;
|
|
18
|
-
/* istanbul ignore file */
|
|
19
|
-
__exportStar(require("@mikro-orm/knex"), exports);
|
|
20
|
-
__exportStar(require("./MySqlDriver"), exports);
|
|
21
|
-
__exportStar(require("./MySqlConnection"), exports);
|
|
22
|
-
var MySqlMikroORM_1 = require("./MySqlMikroORM");
|
|
23
|
-
Object.defineProperty(exports, "MikroORM", { enumerable: true, get: function () { return MySqlMikroORM_1.MySqlMikroORM; } });
|
|
24
|
-
Object.defineProperty(exports, "defineConfig", { enumerable: true, get: function () { return MySqlMikroORM_1.defineMySqlConfig; } });
|
|
1
|
+
export * from '@mikro-orm/knex';
|
|
2
|
+
export * from './MySqlDriver.js';
|
|
3
|
+
export * from './MySqlConnection.js';
|
|
4
|
+
export { MySqlMikroORM as MikroORM, defineMySqlConfig as defineConfig, } from './MySqlMikroORM.js';
|
package/package.json
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mysql",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "7.0.0-dev.3",
|
|
4
5
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"module": "index.mjs",
|
|
7
|
-
"typings": "index.d.ts",
|
|
8
6
|
"exports": {
|
|
9
7
|
"./package.json": "./package.json",
|
|
10
|
-
".":
|
|
11
|
-
"import": {
|
|
12
|
-
"types": "./index.d.ts",
|
|
13
|
-
"default": "./index.mjs"
|
|
14
|
-
},
|
|
15
|
-
"require": "./index.js"
|
|
16
|
-
}
|
|
8
|
+
".": "./index.js"
|
|
17
9
|
},
|
|
18
10
|
"repository": {
|
|
19
11
|
"type": "git",
|
|
@@ -49,7 +41,7 @@
|
|
|
49
41
|
"node": ">= 22.11.0"
|
|
50
42
|
},
|
|
51
43
|
"scripts": {
|
|
52
|
-
"build": "yarn clean && yarn compile && yarn copy
|
|
44
|
+
"build": "yarn clean && yarn compile && yarn copy",
|
|
53
45
|
"clean": "yarn run -T rimraf ./dist",
|
|
54
46
|
"compile": "yarn run -T tsc -p tsconfig.build.json",
|
|
55
47
|
"copy": "node ../../scripts/copy.mjs"
|
|
@@ -58,7 +50,7 @@
|
|
|
58
50
|
"access": "public"
|
|
59
51
|
},
|
|
60
52
|
"dependencies": {
|
|
61
|
-
"@mikro-orm/knex": "7.0.0-dev.
|
|
53
|
+
"@mikro-orm/knex": "7.0.0-dev.3",
|
|
62
54
|
"mysql2": "3.12.0"
|
|
63
55
|
},
|
|
64
56
|
"devDependencies": {
|
|
@@ -66,7 +58,7 @@
|
|
|
66
58
|
"kysely": "https://pkg.pr.new/kysely-org/kysely/kysely@2b7007e"
|
|
67
59
|
},
|
|
68
60
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "7.0.0-dev.
|
|
61
|
+
"@mikro-orm/core": "7.0.0-dev.3",
|
|
70
62
|
"kysely": "*"
|
|
71
63
|
}
|
|
72
64
|
}
|
package/index.mjs
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import mod from "./index.js";
|
|
2
|
-
|
|
3
|
-
export default mod;
|
|
4
|
-
export const ALIAS_REPLACEMENT = mod.ALIAS_REPLACEMENT;
|
|
5
|
-
export const ALIAS_REPLACEMENT_RE = mod.ALIAS_REPLACEMENT_RE;
|
|
6
|
-
export const ARRAY_OPERATORS = mod.ARRAY_OPERATORS;
|
|
7
|
-
export const AbstractNamingStrategy = mod.AbstractNamingStrategy;
|
|
8
|
-
export const AbstractSchemaGenerator = mod.AbstractSchemaGenerator;
|
|
9
|
-
export const AbstractSqlConnection = mod.AbstractSqlConnection;
|
|
10
|
-
export const AbstractSqlDriver = mod.AbstractSqlDriver;
|
|
11
|
-
export const AbstractSqlPlatform = mod.AbstractSqlPlatform;
|
|
12
|
-
export const AfterCreate = mod.AfterCreate;
|
|
13
|
-
export const AfterDelete = mod.AfterDelete;
|
|
14
|
-
export const AfterUpdate = mod.AfterUpdate;
|
|
15
|
-
export const AfterUpsert = mod.AfterUpsert;
|
|
16
|
-
export const ArrayCollection = mod.ArrayCollection;
|
|
17
|
-
export const ArrayCriteriaNode = mod.ArrayCriteriaNode;
|
|
18
|
-
export const ArrayType = mod.ArrayType;
|
|
19
|
-
export const BaseEntity = mod.BaseEntity;
|
|
20
|
-
export const BaseSqliteConnection = mod.BaseSqliteConnection;
|
|
21
|
-
export const BaseSqlitePlatform = mod.BaseSqlitePlatform;
|
|
22
|
-
export const BeforeCreate = mod.BeforeCreate;
|
|
23
|
-
export const BeforeDelete = mod.BeforeDelete;
|
|
24
|
-
export const BeforeUpdate = mod.BeforeUpdate;
|
|
25
|
-
export const BeforeUpsert = mod.BeforeUpsert;
|
|
26
|
-
export const BigIntType = mod.BigIntType;
|
|
27
|
-
export const BlobType = mod.BlobType;
|
|
28
|
-
export const BooleanType = mod.BooleanType;
|
|
29
|
-
export const Cascade = mod.Cascade;
|
|
30
|
-
export const ChangeSet = mod.ChangeSet;
|
|
31
|
-
export const ChangeSetComputer = mod.ChangeSetComputer;
|
|
32
|
-
export const ChangeSetPersister = mod.ChangeSetPersister;
|
|
33
|
-
export const ChangeSetType = mod.ChangeSetType;
|
|
34
|
-
export const CharacterType = mod.CharacterType;
|
|
35
|
-
export const Check = mod.Check;
|
|
36
|
-
export const CheckConstraintViolationException = mod.CheckConstraintViolationException;
|
|
37
|
-
export const Collection = mod.Collection;
|
|
38
|
-
export const CommitOrderCalculator = mod.CommitOrderCalculator;
|
|
39
|
-
export const Config = mod.Config;
|
|
40
|
-
export const Configuration = mod.Configuration;
|
|
41
|
-
export const ConfigurationLoader = mod.ConfigurationLoader;
|
|
42
|
-
export const Connection = mod.Connection;
|
|
43
|
-
export const ConnectionException = mod.ConnectionException;
|
|
44
|
-
export const ConstraintViolationException = mod.ConstraintViolationException;
|
|
45
|
-
export const CreateRequestContext = mod.CreateRequestContext;
|
|
46
|
-
export const CriteriaNode = mod.CriteriaNode;
|
|
47
|
-
export const CriteriaNodeFactory = mod.CriteriaNodeFactory;
|
|
48
|
-
export const Cursor = mod.Cursor;
|
|
49
|
-
export const CursorError = mod.CursorError;
|
|
50
|
-
export const DatabaseDriver = mod.DatabaseDriver;
|
|
51
|
-
export const DatabaseObjectExistsException = mod.DatabaseObjectExistsException;
|
|
52
|
-
export const DatabaseObjectNotFoundException = mod.DatabaseObjectNotFoundException;
|
|
53
|
-
export const DatabaseSchema = mod.DatabaseSchema;
|
|
54
|
-
export const DatabaseTable = mod.DatabaseTable;
|
|
55
|
-
export const DataloaderType = mod.DataloaderType;
|
|
56
|
-
export const DataloaderUtils = mod.DataloaderUtils;
|
|
57
|
-
export const DateTimeType = mod.DateTimeType;
|
|
58
|
-
export const DateType = mod.DateType;
|
|
59
|
-
export const DeadlockException = mod.DeadlockException;
|
|
60
|
-
export const DecimalType = mod.DecimalType;
|
|
61
|
-
export const DefaultLogger = mod.DefaultLogger;
|
|
62
|
-
export const DeferMode = mod.DeferMode;
|
|
63
|
-
export const DoubleType = mod.DoubleType;
|
|
64
|
-
export const DriverException = mod.DriverException;
|
|
65
|
-
export const EagerProps = mod.EagerProps;
|
|
66
|
-
export const Embeddable = mod.Embeddable;
|
|
67
|
-
export const Embedded = mod.Embedded;
|
|
68
|
-
export const EnsureRequestContext = mod.EnsureRequestContext;
|
|
69
|
-
export const Entity = mod.Entity;
|
|
70
|
-
export const EntityAssigner = mod.EntityAssigner;
|
|
71
|
-
export const EntityCaseNamingStrategy = mod.EntityCaseNamingStrategy;
|
|
72
|
-
export const EntityComparator = mod.EntityComparator;
|
|
73
|
-
export const EntityFactory = mod.EntityFactory;
|
|
74
|
-
export const EntityHelper = mod.EntityHelper;
|
|
75
|
-
export const EntityIdentifier = mod.EntityIdentifier;
|
|
76
|
-
export const EntityLoader = mod.EntityLoader;
|
|
77
|
-
export const EntityManager = mod.EntityManager;
|
|
78
|
-
export const EntityManagerType = mod.EntityManagerType;
|
|
79
|
-
export const EntityMetadata = mod.EntityMetadata;
|
|
80
|
-
export const EntityRepository = mod.EntityRepository;
|
|
81
|
-
export const EntityRepositoryType = mod.EntityRepositoryType;
|
|
82
|
-
export const EntitySchema = mod.EntitySchema;
|
|
83
|
-
export const EntitySerializer = mod.EntitySerializer;
|
|
84
|
-
export const EntityTransformer = mod.EntityTransformer;
|
|
85
|
-
export const EntityValidator = mod.EntityValidator;
|
|
86
|
-
export const Enum = mod.Enum;
|
|
87
|
-
export const EnumArrayType = mod.EnumArrayType;
|
|
88
|
-
export const EnumType = mod.EnumType;
|
|
89
|
-
export const EventManager = mod.EventManager;
|
|
90
|
-
export const EventType = mod.EventType;
|
|
91
|
-
export const EventTypeMap = mod.EventTypeMap;
|
|
92
|
-
export const ExceptionConverter = mod.ExceptionConverter;
|
|
93
|
-
export const FileCacheAdapter = mod.FileCacheAdapter;
|
|
94
|
-
export const Filter = mod.Filter;
|
|
95
|
-
export const FloatType = mod.FloatType;
|
|
96
|
-
export const FlushMode = mod.FlushMode;
|
|
97
|
-
export const ForeignKeyConstraintViolationException = mod.ForeignKeyConstraintViolationException;
|
|
98
|
-
export const Formula = mod.Formula;
|
|
99
|
-
export const GeneratedCacheAdapter = mod.GeneratedCacheAdapter;
|
|
100
|
-
export const GroupOperator = mod.GroupOperator;
|
|
101
|
-
export const HiddenProps = mod.HiddenProps;
|
|
102
|
-
export const Hydrator = mod.Hydrator;
|
|
103
|
-
export const IdentityMap = mod.IdentityMap;
|
|
104
|
-
export const Index = mod.Index;
|
|
105
|
-
export const IntegerType = mod.IntegerType;
|
|
106
|
-
export const IntervalType = mod.IntervalType;
|
|
107
|
-
export const InvalidFieldNameException = mod.InvalidFieldNameException;
|
|
108
|
-
export const IsolationLevel = mod.IsolationLevel;
|
|
109
|
-
export const JSON_KEY_OPERATORS = mod.JSON_KEY_OPERATORS;
|
|
110
|
-
export const JoinType = mod.JoinType;
|
|
111
|
-
export const JsonProperty = mod.JsonProperty;
|
|
112
|
-
export const JsonType = mod.JsonType;
|
|
113
|
-
export const Kysely = mod.Kysely;
|
|
114
|
-
export const LoadStrategy = mod.LoadStrategy;
|
|
115
|
-
export const LockMode = mod.LockMode;
|
|
116
|
-
export const LockWaitTimeoutException = mod.LockWaitTimeoutException;
|
|
117
|
-
export const ManyToMany = mod.ManyToMany;
|
|
118
|
-
export const ManyToOne = mod.ManyToOne;
|
|
119
|
-
export const MediumIntType = mod.MediumIntType;
|
|
120
|
-
export const MemoryCacheAdapter = mod.MemoryCacheAdapter;
|
|
121
|
-
export const MetadataDiscovery = mod.MetadataDiscovery;
|
|
122
|
-
export const MetadataError = mod.MetadataError;
|
|
123
|
-
export const MetadataProvider = mod.MetadataProvider;
|
|
124
|
-
export const MetadataStorage = mod.MetadataStorage;
|
|
125
|
-
export const MetadataValidator = mod.MetadataValidator;
|
|
126
|
-
export const MikroORM = mod.MikroORM;
|
|
127
|
-
export const MongoNamingStrategy = mod.MongoNamingStrategy;
|
|
128
|
-
export const MsSqlNativeQueryBuilder = mod.MsSqlNativeQueryBuilder;
|
|
129
|
-
export const MySqlConnection = mod.MySqlConnection;
|
|
130
|
-
export const MySqlDriver = mod.MySqlDriver;
|
|
131
|
-
export const MySqlExceptionConverter = mod.MySqlExceptionConverter;
|
|
132
|
-
export const MySqlNativeQueryBuilder = mod.MySqlNativeQueryBuilder;
|
|
133
|
-
export const MySqlPlatform = mod.MySqlPlatform;
|
|
134
|
-
export const MySqlSchemaHelper = mod.MySqlSchemaHelper;
|
|
135
|
-
export const NativeQueryBuilder = mod.NativeQueryBuilder;
|
|
136
|
-
export const NodeState = mod.NodeState;
|
|
137
|
-
export const NonUniqueFieldNameException = mod.NonUniqueFieldNameException;
|
|
138
|
-
export const NotFoundError = mod.NotFoundError;
|
|
139
|
-
export const NotNullConstraintViolationException = mod.NotNullConstraintViolationException;
|
|
140
|
-
export const NullCacheAdapter = mod.NullCacheAdapter;
|
|
141
|
-
export const NullHighlighter = mod.NullHighlighter;
|
|
142
|
-
export const ObjectBindingPattern = mod.ObjectBindingPattern;
|
|
143
|
-
export const ObjectCriteriaNode = mod.ObjectCriteriaNode;
|
|
144
|
-
export const ObjectHydrator = mod.ObjectHydrator;
|
|
145
|
-
export const OnInit = mod.OnInit;
|
|
146
|
-
export const OnLoad = mod.OnLoad;
|
|
147
|
-
export const OneToMany = mod.OneToMany;
|
|
148
|
-
export const OneToOne = mod.OneToOne;
|
|
149
|
-
export const OptimisticLockError = mod.OptimisticLockError;
|
|
150
|
-
export const OptionalProps = mod.OptionalProps;
|
|
151
|
-
export const PlainObject = mod.PlainObject;
|
|
152
|
-
export const Platform = mod.Platform;
|
|
153
|
-
export const PopulateHint = mod.PopulateHint;
|
|
154
|
-
export const PopulatePath = mod.PopulatePath;
|
|
155
|
-
export const PostgreSqlNativeQueryBuilder = mod.PostgreSqlNativeQueryBuilder;
|
|
156
|
-
export const PrimaryKey = mod.PrimaryKey;
|
|
157
|
-
export const PrimaryKeyProp = mod.PrimaryKeyProp;
|
|
158
|
-
export const Property = mod.Property;
|
|
159
|
-
export const QueryBuilder = mod.QueryBuilder;
|
|
160
|
-
export const QueryBuilderHelper = mod.QueryBuilderHelper;
|
|
161
|
-
export const QueryFlag = mod.QueryFlag;
|
|
162
|
-
export const QueryHelper = mod.QueryHelper;
|
|
163
|
-
export const QueryOperator = mod.QueryOperator;
|
|
164
|
-
export const QueryOrder = mod.QueryOrder;
|
|
165
|
-
export const QueryOrderNumeric = mod.QueryOrderNumeric;
|
|
166
|
-
export const QueryType = mod.QueryType;
|
|
167
|
-
export const Raw = mod.Raw;
|
|
168
|
-
export const RawQueryFragment = mod.RawQueryFragment;
|
|
169
|
-
export const ReadOnlyException = mod.ReadOnlyException;
|
|
170
|
-
export const Ref = mod.Ref;
|
|
171
|
-
export const Reference = mod.Reference;
|
|
172
|
-
export const ReferenceKind = mod.ReferenceKind;
|
|
173
|
-
export const ReflectMetadataProvider = mod.ReflectMetadataProvider;
|
|
174
|
-
export const RequestContext = mod.RequestContext;
|
|
175
|
-
export const SCALAR_TYPES = mod.SCALAR_TYPES;
|
|
176
|
-
export const ScalarCriteriaNode = mod.ScalarCriteriaNode;
|
|
177
|
-
export const ScalarReference = mod.ScalarReference;
|
|
178
|
-
export const SchemaComparator = mod.SchemaComparator;
|
|
179
|
-
export const SchemaGenerator = mod.SchemaGenerator;
|
|
180
|
-
export const SchemaHelper = mod.SchemaHelper;
|
|
181
|
-
export const SerializationContext = mod.SerializationContext;
|
|
182
|
-
export const SerializedPrimaryKey = mod.SerializedPrimaryKey;
|
|
183
|
-
export const ServerException = mod.ServerException;
|
|
184
|
-
export const SimpleLogger = mod.SimpleLogger;
|
|
185
|
-
export const SmallIntType = mod.SmallIntType;
|
|
186
|
-
export const SqlEntityManager = mod.SqlEntityManager;
|
|
187
|
-
export const SqlEntityRepository = mod.SqlEntityRepository;
|
|
188
|
-
export const SqlSchemaGenerator = mod.SqlSchemaGenerator;
|
|
189
|
-
export const SqliteExceptionConverter = mod.SqliteExceptionConverter;
|
|
190
|
-
export const SqliteNativeQueryBuilder = mod.SqliteNativeQueryBuilder;
|
|
191
|
-
export const SqliteSchemaHelper = mod.SqliteSchemaHelper;
|
|
192
|
-
export const StringType = mod.StringType;
|
|
193
|
-
export const SyntaxErrorException = mod.SyntaxErrorException;
|
|
194
|
-
export const TableExistsException = mod.TableExistsException;
|
|
195
|
-
export const TableNotFoundException = mod.TableNotFoundException;
|
|
196
|
-
export const TextType = mod.TextType;
|
|
197
|
-
export const TimeType = mod.TimeType;
|
|
198
|
-
export const TinyIntType = mod.TinyIntType;
|
|
199
|
-
export const TransactionContext = mod.TransactionContext;
|
|
200
|
-
export const TransactionEventBroadcaster = mod.TransactionEventBroadcaster;
|
|
201
|
-
export const Transactional = mod.Transactional;
|
|
202
|
-
export const Type = mod.Type;
|
|
203
|
-
export const Uint8ArrayType = mod.Uint8ArrayType;
|
|
204
|
-
export const UnderscoreNamingStrategy = mod.UnderscoreNamingStrategy;
|
|
205
|
-
export const Unique = mod.Unique;
|
|
206
|
-
export const UniqueConstraintViolationException = mod.UniqueConstraintViolationException;
|
|
207
|
-
export const UnitOfWork = mod.UnitOfWork;
|
|
208
|
-
export const UnknownType = mod.UnknownType;
|
|
209
|
-
export const Utils = mod.Utils;
|
|
210
|
-
export const UuidType = mod.UuidType;
|
|
211
|
-
export const ValidationError = mod.ValidationError;
|
|
212
|
-
export const WrappedEntity = mod.WrappedEntity;
|
|
213
|
-
export const assign = mod.assign;
|
|
214
|
-
export const colors = mod.colors;
|
|
215
|
-
export const compareArrays = mod.compareArrays;
|
|
216
|
-
export const compareBooleans = mod.compareBooleans;
|
|
217
|
-
export const compareBuffers = mod.compareBuffers;
|
|
218
|
-
export const compareObjects = mod.compareObjects;
|
|
219
|
-
export const createSqlFunction = mod.createSqlFunction;
|
|
220
|
-
export const defineConfig = mod.defineConfig;
|
|
221
|
-
export const equals = mod.equals;
|
|
222
|
-
export const getOnConflictFields = mod.getOnConflictFields;
|
|
223
|
-
export const getOnConflictReturningFields = mod.getOnConflictReturningFields;
|
|
224
|
-
export const helper = mod.helper;
|
|
225
|
-
export const isRaw = mod.isRaw;
|
|
226
|
-
export const parseJsonSafe = mod.parseJsonSafe;
|
|
227
|
-
export const raw = mod.raw;
|
|
228
|
-
export const ref = mod.ref;
|
|
229
|
-
export const rel = mod.rel;
|
|
230
|
-
export const serialize = mod.serialize;
|
|
231
|
-
export const sql = mod.sql;
|
|
232
|
-
export const t = mod.t;
|
|
233
|
-
export const types = mod.types;
|
|
234
|
-
export const wrap = mod.wrap;
|