Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 eve 默认使用 mongodb 作为后端,而 mongodb 实际上支持对数组字段(doc)进行索引/查询,例如
db.inventory.find( { tags: { $in: [ /^be/, /^st/ ] } } )
我们在eve中支持同样的吗?如果没有,我们有多远(想估计我是否需要对架构进行一些更改——虽然不理想)?
这是支持的:
/?where={"tags": {"$in": ["programming"]}}
那里不允许使用正则表达式。