PHP » GoLang |
login |
register |
about
|
GoLang pg_field_type_oid
request it (364)
GoLang replacement for PHP's pg_field_type_oid
[edit | history]
pg_field_type_oid(PHP 5 >= 5.1.0, PHP 7) pg_field_type_oid — Returns 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
|
more
Recently updated
more
Most requested
more
Last requests
|