KillThunder
V2EX  ›  问与答

mongodb 能分组查询吗?

  •  
  •   KillThunder · Mar 31, 2017 · 1710 views
    This topic created in 3355 days ago, the information mentioned may be changed or developed.

    mongodb 能分组查询吗? db.LoginInformation.find({createDate:{$gte: tuples.riseDate, $lt: tuples.endDate}}); 我要修改这条语句,根据 LoginInformation 表里的 userId 字段进行分组查询,这条语句怎么修改呢?

    2 replies    2017-03-31 15:37:07 +08:00
    ufo22940268
        2
    ufo22940268  
       Mar 31, 2017
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3759 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:52 · PVG 08:52 · LAX 17:52 · JFK 20:52
    ♥ Do have faith in what you're doing.