【发布时间】:2013-09-06 06:15:02
【问题描述】:
假设我的数据是
db.posts.save({postid:1,postdata:"hi am ",comments:["nice","whats bro"]});
所以在这种情况下如何迭代 cmets 意思是
cursor=selct * from posts;
cursor 1=selct * from comments where postid=:cursor.postid
for (i in cursor)
for(j in cursor1)
【问题讨论】: