class Pg::Result

The class to represent the query result tuples (rows). An instance of this class is created as the result of every query. You may need to invoke the clear method of the instance when finished with the result for better memory performance.

Public Class Methods

Pg::Conn.translate_results = boolean click to toggle source

When true (default), results are translated to an appropriate Ruby class. When false, results are returned as Strings.

VALUE
pgresult_s_translate_results_set( VALUE cls, VALUE fact)
{
    translate_results = RTEST( fact) ? 1 : 0;
    return Qnil;
}