随笔分类 -  mongo

mongodb, mongoid
摘要:Queryable#allAdd $all selection. Documents must match all values provided in the array.Also can be written with:Queryable#all_in如果是一个数组,用in组whereconditions = {}conditons[:id.in] = [1,2,3] 阅读全文
posted @ 2013-04-12 16:37 scu张小磊 阅读(90) 评论(0) 推荐(0)