|
Pdo\Pgsql::setNoticeCallbackSet a callback to handle notice and warning messages generated by the backend Description
public void Pdo\Pgsql::setNoticeCallback(callablenull
$callback )
Set a callback to handle notice and warning messages generated by the backend.
This includes messages emitted by PostgreSQL itself,
as well as those raised by user-defined SQL functions using Parameters
Return ValuesNo value is returned. ExamplesExample #1 Pdo\Pgsql::setNoticeCallback example
The above example will output something similar to: NOTICE: truncate cascades to table "child" |