UNPKG

ionic-orm-2

Version:

Data-mapper ORM for Ionic WebSQL and SQLite

15 lines 477 B
import { getMetadataArgsStorage } from "../../../index"; /** * Special decorator used to extract relation id into separate entity property. */ export function RelationId(relation) { return function (object, propertyName) { const args = { target: object.constructor, propertyName: propertyName, relation: relation }; getMetadataArgsStorage().relationIds.add(args); }; } //# sourceMappingURL=RelationId.js.map