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

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   804 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:33 · PVG 06:33 · LAX 15:33 · JFK 18:33
    ♥ Do have faith in what you're doing.