Page Contents
Home > @loopback/sequelize > SequelizeCrudRepository > getSequelizeOperator
SequelizeCrudRepository.getSequelizeOperator() method
Get Sequelize Operator
Signature:
protected getSequelizeOperator(key: keyof typeof operatorTranslations): symbol;
Parameters
Parameter | Type | Description |
---|---|---|
key | keyof typeof operatorTranslations | Name of the operator used in loopback eg. lt |
Returns:
symbol
Equivalent operator symbol if available in Sequelize eg Op.lt