我有我的服務器在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,並且還可以直接放置表達式,同時查詢與多個查詢(有很多代碼)的地圖縮減查詢。