Type alias PrimaryKey

PrimaryKey: {
    __meta?: ["primaryKey"];
}

Marks a property as primary key.

class Entity {
id: number & Primary = 0;
}

Type declaration

  • Optional __meta?: ["primaryKey"]

Generated using TypeDoc