lib/active_record/connection_adapters/fdbsql/database_statements.rb
# Returns an array of arrays containing the field values
# Order is the same as that returned by +columns+
Returns an array of arrays containing the field values
Order is the same as that returned by +columns+
Returns an array of arrays containing the field values Order is the same as that returned by + columns +
def select_raw(sql, name = nil)
            res = execute(sql, name)
            results = result_as_array(res)
            fields = res.fields
            res.clear
            return fields, results
          end
def select_raw ( sql , name = nil ) res = execute ( sql , name ) results = result_as_array ( res ) fields = res . fields res . clear return fields , results end
Returns an array of arrays containing the field values
Order is the same as that returned by +columns+
Returns an array of arrays containing the field values Order is the same as that returned by + columns +
sql
name