class Rmodel::Mongo::Query
Public Instance Methods
find_by_id(id)
click to toggle source
# File lib/rmodel/mongo/query.rb, line 8 def find_by_id(id) where('_id' => id) end
# File lib/rmodel/mongo/query.rb, line 8 def find_by_id(id) where('_id' => id) end