Testing a filter on a document on client-side

后端 未结 2 823
迷失自我
迷失自我 2021-01-27 20:33

Say I have a SON-document (typically fetched using a mongodb query, but not necessarily), and a query-filter expression (e.g. { \'x\': {\'$ne\': 5} }), is there a c

2条回答
  •  青春惊慌失措
    2021-01-27 20:51

    MongoDB's matcher algorithm is written in C++. You'd need at least a partial rewrite of the matcher in Python, which does not, to my knowledge, exist.

提交回复
热议问题