PG::Connection
Inherits PG::EscapeHelper / DB::Connection / DB::BeginTransaction / DB::SessionMethods / DB::QueryMethods / DB::Disposable / Reference / Object
Constructors
Instance methods
Execute a "COPY" query and return an IO object to read from or write to, depending on the query.
data = conn.exec_copy("COPY table TO STDOUT").gets_to_end
writer = conn.exec_copy "COPY table FROM STDIN")
writer << data
writer.close
time_zone
Sourceversion
Source