|
pg_field_type_oidReturns the type ID (OID) for the corresponding field number Description
int pg_field_type_oid
( resource
$result
, int $field_number
)
pg_field_type_oid returns an integer containing the
OID of the base type of the given You can get more information about the field type by querying PostgreSQL's pg_type system table using the OID obtained with this function. The PostgreSQL format_type function will convert a type OID into an SQL standard type name.
Parameters
Return Values
The OID of the field's base type. Examples
Example #1 Getting information about fields
<?php The above example will output: Title field type OID: 1043 See Also
|