postgrelize / GroupOption
Type Alias: GroupOption ​
Defined in: src/model/v6-aliases.ts:80
Value of the group option (Sequelize v6 GroupOption): attribute names, col() or fn() expressions.
Example ​
ts
const group: GroupOption = ['authorId', fn('date_trunc', 'day', col('createdAt'))];