Postgres::dumpRelation PHP Method

dumpRelation() public method

@@ Note: Really needs to use a cursor
public dumpRelation ( $relation, $oids ) : -1
$relation The name of a relation
return -1 recordset on success
    function dumpRelation($relation, $oids)
    {
        $this->fieldClean($relation);
        // Actually retrieve the rows
        if ($oids) {
            $oid_str = $this->id . ', ';
        } else {
            $oid_str = '';
        }
        return $this->selectSet("SELECT {$oid_str}* FROM \"{$relation}\"");
    }
Postgres