postgrelize / UpdatedAt
Variable: UpdatedAt ​
constUpdatedAt:ModelPropertyDecorator
Defined in: src/decorators/timestamp-decorators.ts:30
Names the attribute that holds the last update time (updatedAt: '<attribute>').
Example ​
ts
class User extends Model {
@UpdatedAt
updatedOn!: Date;
}