users 源表结构

{
"unique_id" : "158816681741313",
"active_time" : [
NumberInt(1588291200),
NumberInt(1588348800)
]
}

执行查询语句

db.users.aggregate([

{$unwind:'activetime'}

])

新的结果集


"unique_id" : "158816681741313", 
"active_time" : NumberInt(1588291200)
}


"unique_id" : "158816681741313", 
"active_time" : NumberInt(1588348800)
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-06-27
  • 2021-06-23
猜你喜欢
  • 2022-12-23
  • 2021-09-06
  • 2022-02-02
  • 2021-04-16
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案