class

PG::Connection

Inherits PG::EscapeHelper < DB::Connection < DB::BeginTransaction < DB::SessionMethods < DB::QueryMethods < DB::Disposable < Reference < Object

Constructors

new(context)
Source

Instance methods

build_prepared_statement(query) : Statement

:nodoc:

Source
build_unprepared_statement(query) : Statement

:nodoc:

Source
exec_all(query : String) : Nil

Execute several statements. No results are returned.

Source
on_notice

Set the callback block for notices and errors.

Source
on_notification

Set the callback block for notifications from Listen/Notify.

Source
version
Source