Type alias AutoIncrement

AutoIncrement: {
    __meta?: ["autoIncrement"];
}

Marks a primary property key as auto-increment.

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

Type declaration

  • Optional __meta?: ["autoIncrement"]

Generated using TypeDoc