📜  sequelize like search - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:38.307000             🧑  作者: Mango

代码示例1
const Sequelize = require('sequelize');
const Op = Sequelize.Op;

let data: Array = await MyDataSequelizeAccess.findAll({
  where: {
    name: {
      [Op.like]: '%Bob%'
    }
  }
});