UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, 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