PDO::pgsqlGetNotify

(PHP 5 >= 5.6.0, PHP 7)

PDO::pgsqlGetNotifyGet asynchronous notification

Opis

public PDO::pgsqlGetNotify ([ int $result_type = PDO::FETCH_USE_DEFAULT [, int $ms_timeout = 0 ]] ) : array

Returns a result set representing a pending asynchronous notification.

Parametry

result_type

The format the result set should be returned as, represented as a PDO::FETCH_* constant.

ms_timeout

The length of time to wait for a response, in milliseconds.

Zwracane wartości

If one or more notifications is pending, returns a single row, with fields message and pid, otherwise returns FALSE.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top