0%

Sequelize 不区分大小写查找数据

1
2
3
4
5
6
7
const findData = await Assets.findOne({
where: {
barCode: {
[Op.like]: `%${getCode}%`,
},
},
});