【发布时间】:2015-08-07 13:37:00
【问题描述】:
问候;网上搜了一圈,还是没有找到答案。
我正在创建一个多人测验应用程序,其中包含一个需要将分数链接到用户 ID 的游戏数据库;但我不知道如何实现多维集合,更不用说在 Meteor 中访问它了。数据库的总体思路是这样的:
_id //string
completed //boolean
mode //string
users
id //string
id //string
scores
playerid1 //string
score //int
playerid2 //string
score //int
对如何使用 Mongo 实现这种深度有任何见解吗? 谢谢
【问题讨论】: