UNPKG

great-scott

Version:

A Marty-like data source for postgres.

22 lines (18 loc) 849 B
"use strict"; var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; }; var DataSource = _interopRequire(require("./postgres")); var _errors = require("./errors"); var PostgresError = _errors.PostgresError; var ForeignKeyConstraintError = _errors.ForeignKeyConstraintError; var NotNullConstraintError = _errors.NotNullConstraintError; var UniqueConstraintError = _errors.UniqueConstraintError; var NotFoundError = _errors.NotFoundError; var RelationNotFoundError = _errors.RelationNotFoundError; module.exports = { DataSource: DataSource, PostgresError: PostgresError, ForeignKeyConstraintError: ForeignKeyConstraintError, NotNullConstraintError: NotNullConstraintError, UniqueConstraintError: UniqueConstraintError, NotFoundError: NotFoundError, RelationNotFoundError: RelationNotFoundError };