var Sequelize = require('sequelize);
var Op = Sequelize.Op;
User.findAll({
where: {
username: {
[Op.like]: '%放%'
}
},
offset: 0,
limit: 10
})
var Sequelize = require('sequelize);
var Op = Sequelize.Op;
User.findAll({
where: {
username: {
[Op.like]: '%放%'
}
},
offset: 0,
limit: 10
})
本文标题:sequelize模糊查询
本文链接:https://www.haomeiwen.com/subject/mjyxvftx.html
网友评论