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}\""); }