Node.js Feathers vuex如何将查询中的Op.like关键字发送到Feathers sequelize后端

Node.js Feathers vuex如何将查询中的Op.like关键字发送到Feathers sequelize后端,node.js,vue.js,feathers-sequelize,feathers-vuex,Node.js,Vue.js,Feathers Sequelize,Feathers Vuex,我在前端使用feathers vuex和vue.js,在后端使用feathers.js和MySql db。我想在前端执行一个搜索函数,它使用Op.like函数向后端发送一个查询。但是,后端无法识别Op.like(从前端发送)甚至$like。我怎样才能让它工作 我尝试使用“$like”和“[Op.like]”设置查找查询,如下所示 备选案文1: this.find(query: {"attribute": {"$like":"SearchTerm"}}) 这将返回以下错误: Invalid qu

我在前端使用feathers vuex和vue.js,在后端使用feathers.js和MySql db。我想在前端执行一个搜索函数,它使用Op.like函数向后端发送一个查询。但是,后端无法识别Op.like(从前端发送)甚至$like。我怎样才能让它工作

我尝试使用“$like”和“[Op.like]”设置查找查询,如下所示

备选案文1:

this.find(query: {"attribute": {"$like":"SearchTerm"}})
这将返回以下错误:

Invalid query parameter $like
Invalid query parameter '[Op.like]'
备选案文2:

this.find(query: {"attribute": {"[Op.like]":"SearchTerm"}})
这将返回以下错误:

Invalid query parameter $like
Invalid query parameter '[Op.like]'
备选案文3:

this.find(query: {"attribute": {[Op.like]:"SearchTerm"}})
这在Vue.js本身中失败:

Error in render: "ReferenceError: Op is not defined"
如何让后端使用Op.like参数返回查询结果?在后端有什么我需要做的吗

提前谢谢