Types
class Types implements ArrayAccess (View source)
Accessor to the PostgreSQL pg_type relation.
See [here for an overview](pq/Types/: Overview).
Constants
| BOOL |
OID of the |
| BYTEA |
OID of the |
| CHAR |
OID of the |
| NAME |
OID of the |
| INT8 |
OID of the |
| INT2 |
OID of the |
| INT2VECTOR |
OID of the |
| INT4 |
OID of the |
| REGPROC |
OID of the |
| TEXT |
OID of the |
| OID |
OID of the |
| TID |
OID of the |
| XID |
OID of the |
| CID |
OID of the |
| OIDVECTOR |
OID of the |
| PG_TYPE |
OID of the |
| PG_ATTRIBUTE |
OID of the |
| PG_PROC |
OID of the |
| PG_CLASS |
OID of the |
| JSON |
OID of the |
| XML |
OID of the |
| XMLARRAY |
OID of the |
| JSONARRAY |
OID of the |
| PG_NODE_TREE |
OID of the |
| SMGR |
OID of the |
| POINT |
OID of the |
| LSEG |
OID of the |
| PATH |
OID of the |
| BOX |
OID of the |
| POLYGON |
OID of the |
| LINE |
OID of the |
| LINEARRAY |
OID of the |
| FLOAT4 |
OID of the |
| FLOAT8 |
OID of the |
| ABSTIME |
OID of the |
| RELTIME |
OID of the |
| TINTERVAL |
OID of the |
| UNKNOWN |
OID of the |
| CIRCLE |
OID of the |
| CIRCLEARRAY |
OID of the |
| MONEY |
OID of the |
| MONEYARRAY |
OID of the |
| MACADDR |
OID of the |
| INET |
OID of the |
| CIDR |
OID of the |
| BOOLARRAY |
OID of the |
| BYTEAARRAY |
OID of the |
| CHARARRAY |
OID of the |
| NAMEARRAY |
OID of the |
| INT2ARRAY |
OID of the |
| INT2VECTORARRAY |
OID of the |
| INT4ARRAY |
OID of the |
| REGPROCARRAY |
OID of the |
| TEXTARRAY |
OID of the |
| OIDARRAY |
OID of the |
| TIDARRAY |
OID of the |
| XIDARRAY |
OID of the |
| CIDARRAY |
OID of the |
| OIDVECTORARRAY |
OID of the |
| BPCHARARRAY |
OID of the |
| VARCHARARRAY |
OID of the |
| INT8ARRAY |
OID of the |
| POINTARRAY |
OID of the |
| LSEGARRAY |
OID of the |
| PATHARRAY |
OID of the |
| BOXARRAY |
OID of the |
| FLOAT4ARRAY |
OID of the |
| FLOAT8ARRAY |
OID of the |
| ABSTIMEARRAY |
OID of the |
| RELTIMEARRAY |
OID of the |
| TINTERVALARRAY |
OID of the |
| POLYGONARRAY |
OID of the |
| ACLITEM |
OID of the |
| ACLITEMARRAY |
OID of the |
| MACADDRARRAY |
OID of the |
| INETARRAY |
OID of the |
| CIDRARRAY |
OID of the |
| CSTRINGARRAY |
OID of the |
| BPCHAR |
OID of the |
| VARCHAR |
OID of the |
| DATE |
OID of the |
| TIME |
OID of the |
| TIMESTAMP |
OID of the |
| TIMESTAMPARRAY |
OID of the |
| DATEARRAY |
OID of the |
| TIMEARRAY |
OID of the |
| TIMESTAMPTZ |
OID of the |
| TIMESTAMPTZARRAY |
OID of the |
| INTERVAL |
OID of the |
| INTERVALARRAY |
OID of the |
| NUMERICARRAY |
OID of the |
| TIMETZ |
OID of the |
| TIMETZARRAY |
OID of the |
| BIT |
OID of the |
| BITARRAY |
OID of the |
| VARBIT |
OID of the |
| VARBITARRAY |
OID of the |
| NUMERIC |
OID of the |
| REFCURSOR |
OID of the |
| REFCURSORARRAY |
OID of the |
| REGPROCEDURE |
OID of the |
| REGOPER |
OID of the |
| REGOPERATOR |
OID of the |
| REGCLASS |
OID of the |
| REGTYPE |
OID of the |
| REGPROCEDUREARRAY |
OID of the |
| REGOPERARRAY |
OID of the |
| REGOPERATORARRAY |
OID of the |
| REGCLASSARRAY |
OID of the |
| REGTYPEARRAY |
OID of the |
| UUID |
OID of the |
| UUIDARRAY |
OID of the |
| TSVECTOR |
OID of the |
| GTSVECTOR |
OID of the |
| TSQUERY |
OID of the |
| REGCONFIG |
OID of the |
| REGDICTIONARY |
OID of the |
| TSVECTORARRAY |
OID of the |
| GTSVECTORARRAY |
OID of the |
| TSQUERYARRAY |
OID of the |
| REGCONFIGARRAY |
OID of the |
| REGDICTIONARYARRAY |
OID of the |
| TXID_SNAPSHOT |
OID of the |
| TXID_SNAPSHOTARRAY |
OID of the |
| INT4RANGE |
OID of the |
| INT4RANGEARRAY |
OID of the |
| NUMRANGE |
OID of the |
| NUMRANGEARRAY |
OID of the |
| TSRANGE |
OID of the |
| TSRANGEARRAY |
OID of the |
| TSTZRANGE |
OID of the |
| TSTZRANGEARRAY |
OID of the |
| DATERANGE |
OID of the |
| DATERANGEARRAY |
OID of the |
| INT8RANGE |
OID of the |
| INT8RANGEARRAY |
OID of the |
| RECORD |
OID of the |
| RECORDARRAY |
OID of the |
| CSTRING |
OID of the |
| ANY |
OID of the |
| ANYARRAY |
OID of the |
| VOID |
OID of the |
| TRIGGER |
OID of the |
| EVENT_TRIGGER |
OID of the |
| LANGUAGE_HANDLER |
OID of the |
| INTERNAL |
OID of the |
| OPAQUE |
OID of the |
| ANYELEMENT |
OID of the |
| ANYNONARRAY |
OID of the |
| ANYENUM |
OID of the |
| FDW_HANDLER |
OID of the |
| ANYRANGE |
OID of the |
Properties
| Connection read-only | $connection | The connection which was used to obtain type information. |
Methods
Create a new instance populated with information obtained from the pg_type relation.
Refresh type information from pg_type.
Details
__construct(Connection $conn, array $namespaces = null)
Create a new instance populated with information obtained from the pg_type relation.
refresh(array $namespaces = null)
Refresh type information from pg_type.