KillThunder
V2EX  ›  问与答

mongodb 能分组查询吗?

  •  
  •   KillThunder · Mar 31, 2017 · 1979 views
    This topic created in 3519 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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3068 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:50 · PVG 08:50 · LAX 16:50 · JFK 19:50
    ♥ Do have faith in what you're doing.