@mikro-orm/knex 7.0.0-dev.72 → 7.0.0-dev.74
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExceptionConverter, type Dictionary, type DriverException } from '@mikro-orm/core';
|
|
2
2
|
export declare class MySqlExceptionConverter extends ExceptionConverter {
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
4
|
+
* @see http://dev.mysql.com/doc/refman/5.7/en/error-messages-client.html
|
|
5
|
+
* @see http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html
|
|
6
|
+
* @see https://github.com/doctrine/dbal/blob/master/src/Driver/AbstractMySQLDriver.php
|
|
7
7
|
*/
|
|
8
8
|
convertException(exception: Error & Dictionary): DriverException;
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DeadlockException, LockWaitTimeoutException, TableExistsException, TableNotFoundException, ForeignKeyConstraintViolationException, UniqueConstraintViolationException, InvalidFieldNameException, NonUniqueFieldNameException, SyntaxErrorException, ConnectionException, NotNullConstraintViolationException, ExceptionConverter, CheckConstraintViolationException, } from '@mikro-orm/core';
|
|
2
2
|
export class MySqlExceptionConverter extends ExceptionConverter {
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
4
|
+
* @see http://dev.mysql.com/doc/refman/5.7/en/error-messages-client.html
|
|
5
|
+
* @see http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html
|
|
6
|
+
* @see https://github.com/doctrine/dbal/blob/master/src/Driver/AbstractMySQLDriver.php
|
|
7
7
|
*/
|
|
8
8
|
convertException(exception) {
|
|
9
9
|
/* v8 ignore start */
|
|
@@ -2,8 +2,8 @@ import { ExceptionConverter, type Dictionary, type DriverException } from '@mikr
|
|
|
2
2
|
export declare class SqliteExceptionConverter extends ExceptionConverter {
|
|
3
3
|
/**
|
|
4
4
|
* @inheritDoc
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
5
|
+
* @see http://www.sqlite.org/c3ref/c_abort.html
|
|
6
|
+
* @see https://github.com/doctrine/dbal/blob/master/src/Driver/AbstractSQLiteDriver.php
|
|
7
7
|
*/
|
|
8
8
|
convertException(exception: Error & Dictionary): DriverException;
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@ import { ConnectionException, ExceptionConverter, InvalidFieldNameException, Loc
|
|
|
2
2
|
export class SqliteExceptionConverter extends ExceptionConverter {
|
|
3
3
|
/**
|
|
4
4
|
* @inheritDoc
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
5
|
+
* @see http://www.sqlite.org/c3ref/c_abort.html
|
|
6
|
+
* @see https://github.com/doctrine/dbal/blob/master/src/Driver/AbstractSQLiteDriver.php
|
|
7
7
|
*/
|
|
8
8
|
convertException(exception) {
|
|
9
9
|
/* v8 ignore start */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "7.0.0-dev.
|
|
3
|
+
"version": "7.0.0-dev.74",
|
|
4
4
|
"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
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"@mikro-orm/core": "^6.6.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@mikro-orm/core": "7.0.0-dev.
|
|
60
|
+
"@mikro-orm/core": "7.0.0-dev.74"
|
|
61
61
|
}
|
|
62
62
|
}
|