UNPKG

@mikro-orm/postgresql

Version:

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.

9 lines (8 loc) 436 B
import { ExceptionConverter, type Dictionary, type DriverException } from '@mikro-orm/core'; export declare class PostgreSqlExceptionConverter extends ExceptionConverter { /** * @link http://www.postgresql.org/docs/9.4/static/errcodes-appendix.html * @link https://github.com/doctrine/dbal/blob/master/src/Driver/AbstractPostgreSQLDriver.php */ convertException(exception: Error & Dictionary): DriverException; }