UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

10 lines (8 loc) 431 B
import { TypeORMError } from "./TypeORMError"; export class MissingPrimaryColumnError extends TypeORMError { constructor(entityMetadata) { super(`Entity "${entityMetadata.name}" does not have a primary column. Primary column is required to ` + `have in all your entities. Use @PrimaryColumn decorator to add a primary column to your entity.`); } } //# sourceMappingURL=MissingPrimaryColumnError.js.map