# File lib/aws/record/scope.rb, line 89 def find id_or_mode, options = {} scope = _handle_options(options) case when id_or_mode == :all then scope when id_or_mode == :first then scope.limit(1).to_a.first else base_class.find_by_id(id_or_mode, :shard => scope._shard) end end