What Javascript library can evaluate MongoDB-like query predicates against an object?

前端 未结 5 1968
说谎
说谎 2020-12-15 06:42

Is there a javascript library that will allow me to express object predicates in a DSL similar to MongoDB\'s query language? For the sake of clarity in a large program, I\'d

5条回答
  •  臣服心动
    2020-12-15 07:45

    The closest I could find was linq.js, which is LINQ for JavaScript. Hopefully this will be of some help to you.

提交回复
热议问题