我有我的服务器在nodejs和客户端在angularjs,mongodb(mongoose)作为数据库。我希望我的客户能够使中放置了像固定几个领域达到一定的数值都正常consitions搜索查询,包含在几个领域等的搜索字符串在mongodb中客户端和服务器之间的搜索API
查询可以
(value of field A can be 'x' or 'y') and
(value of field B can range between dates P and Q) and
(string s contained in fields C or D or E) few more
是否有任何npm插件或标准化我可以遵循以丰富我的服务器端API,并且还可以直接放置表达式,同时查询与多个查询(有很多代码)的地图缩减查询。