`

mongoid without function

    博客分类:
  • RoR
 
阅读更多
ms = MainClass.where({"uuid":"5be8c2c3-9812-4ab8-82dd-50827791e385"}).without(:_id, "classes._id", "classes.sub_classess._id", "classes.sub_classes.actions._id")

ms.each do |m|
    puts m.attributes
end
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics