instance method
get_result
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
get_result(raw_connection)
No documentation comment.
Parameters
-
raw_connectionreq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb, line 280
def get_result(raw_connection)
result = nil
while incoming = raw_connection.get_result
result&.clear
result = incoming
if result.result_status == PG::PGRES_FATAL_ERROR
result.check if connection_terminating_severity?(result)
end
end
result
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb line 280
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQL::DatabaseStatements