vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/sdb/active_sdb.rb
#
# Same as find, but will return SimpleDB metadata like :request_id and :box_usage
#
Same as find, but will return SimpleDB metadata like :request_id and :box_usage
Same as find but will return SimpleDB metadata like : request_id and : box_usage
def find_with_metadata(*args)
                      options = args.last.is_a?(Hash) ? args.pop : {}
                    case args.first
                        when nil then
                            raise "Invalid parameters passed to find: nil."
                        when :all   then
                            sql_select(options)
                        when :first then
                            sql_select(options.merge(:limit => 1))
                        when :count then
                            res = sql_select(options.merge(:count => true))
                            res
                        else
                            select_from_ids args, options
                    end
                end
def find_with_metadata ( * args ) options = args . last . is_a? ( Hash ) ? args . pop : { } case args . first when nil then raise "Invalid parameters passed to find: nil." when :all then sql_select ( options ) when :first then sql_select ( options . merge ( :limit => 1 ) ) when :count then res = sql_select ( options . merge ( :count => true ) ) res else select_from_ids args , options end end
Same as find, but will return SimpleDB metadata like :request_id and :box_usage
Same as find but will return SimpleDB metadata like : request_id and : box_usage
args