class AWS::Record::Model
def find *args
(**options)
-
:limit
(Integer
) -- The max number of records to fetch. -
:sort
(String, Array
) -- The order records should be -
:where
(Mixed
) -- Conditions that determine what
Parameters:
-
options
(Hash
) -- -
mode
(:all, :first
) -- (:all) When finding +:all+ matching records -
id
() -- The record to find, raises an exception if the record is
Overloads:
-
find(mode, options = {})
-
find(id)
def find *args new_scope.find(*args) end