Postgres::getOperator PHP Method

getOperator() public method

Returns all details for a particular operator
public getOperator ( $operator_oid ) : Function
$operator_oid The oid of the operator
return Function info
    function getOperator($operator_oid)
    {
        $this->clean($operator_oid);
        $sql = "\n\t\t\tSELECT\n            \tpo.oid, po.oprname,\n\t\t\t\toprleft::pg_catalog.regtype AS oprleftname,\n\t\t\t\toprright::pg_catalog.regtype AS oprrightname,\n\t\t\t\toprresult::pg_catalog.regtype AS resultname,\n\t\t\t\tpo.oprcanhash,\n\t\t\t\toprcanmerge,\n\t\t\t\toprcom::pg_catalog.regoperator AS oprcom,\n\t\t\t\toprnegate::pg_catalog.regoperator AS oprnegate,\n\t\t\t\tpo.oprcode::pg_catalog.regproc AS oprcode,\n\t\t\t\tpo.oprrest::pg_catalog.regproc AS oprrest,\n\t\t\t\tpo.oprjoin::pg_catalog.regproc AS oprjoin\n\t\t\tFROM\n\t\t\t\tpg_catalog.pg_operator po\n\t\t\tWHERE\n\t\t\t\tpo.oid='{$operator_oid}'\n\t\t";
        return $this->selectSet($sql);
    }
Postgres