KillThunder
V2EX  ›  问与答

mongodb 能分组查询吗?

  •  
  •   KillThunder · Mar 31, 2017 · 1714 views
    This topic created in 3357 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   ·   5908 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:41 · PVG 10:41 · LAX 19:41 · JFK 22:41
    ♥ Do have faith in what you're doing.