Postgres::getType PHP Method

getType() public method

Returns all details for a particular type
public getType ( $typname ) : Type
$typname The name of the view to retrieve
return Type info
    function getType($typname)
    {
        $this->clean($typname);
        $sql = "SELECT typtype, typbyval, typname, typinput AS typin, typoutput AS typout, typlen, typalign\n\t\t\tFROM pg_type WHERE typname='{$typname}'";
        return $this->selectSet($sql);
    }
Postgres