KillThunder
V2EX  ›  问与答

mongodb 能分组查询吗?

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