DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed

后端 未结 3 2216
执笔经年
执笔经年 2021-02-18 20:33

I\'m getting below error on expressJs with Sequelize

DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and shou         


        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-18 20:52

    This is not an error, it's simply a warning stating that passing boolean values to operatorsAliases in sequelize options will be deprecated in v5.

    To remove the warning, replace the boolean value by '1' or '0' for true and false respectively.

提交回复
热议问题