postgrelize / WhereAttributeHashValue
Type Alias: WhereAttributeHashValue<V> ​
WhereAttributeHashValue<
V> =WhereAttributeValue<V>
Defined in: src/model/where-options.ts:186
Condition for one attribute in a where object (Sequelize v6 WhereAttributeHashValue); the same type as WhereAttributeValue.
Type Parameters ​
V ​
V
Example ​
ts
const name: WhereAttributeHashValue<string> = { [Op.iLike]: 'a%' };
const ids: WhereAttributeHashValue<number> = [1, 2, 3];