PHP » GoLang |
login |
register |
about
|
GoLang pg_result_error_field
request it (413)
GoLang replacement for PHP's pg_result_error_field
[edit | history]
pg_result_error_field(PHP 5 >= 5.1.0, PHP 7) pg_result_error_field — Returns an individual field of an error report Description
string pg_result_error_field
( resource
$result
, int $fieldcode
)
pg_result_error_field() returns one of the detailed error message
fields associated with
Because pg_query() and pg_query_params() return If you need to get additional error information from failed pg_query() queries, use pg_set_error_verbosity() and pg_last_error() and then parse the result. Parameters
Return ValuesA string containing the contents of the error field, Examples
Example #1 pg_result_error_field() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|