V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zxCoder
V2EX  ›  问与答

mongodb 是否存在一个方法可以直接判断一个 filter 和一个 document 是否匹配

  •  
  •   zxCoder · Mar 25, 2021 · 528 views
    This topic created in 1870 days ago, the information mentioned may be changed or developed.

    目前的做法是将文档插入一个临时集合,然后查询,再删除。。。这样子效率有点低,有没有更快的方法

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:34 · PVG 04:34 · LAX 13:34 · JFK 16:34
    ♥ Do have faith in what you're doing.