instance method get_result

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

get_result(raw_connection)

No documentation comment.

Parameters

raw_connection req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close