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
mongoid without function
最新推荐文章于 2023-04-07 11:25:42 发布