Description Usage Arguments Value Note Author(s)
Check whether a given cursor is fully drained and will output no more datum. The function never blocks; also verifies that the underlying connection is useful.
| 1 | isCursorEmpty(cursor)
 | 
| cursor | Cursor to check; a result of  | 
TRUE if cursor has no more data to return.
It is possible that cursorNext will return NULL just after isCursorEmpty returns FALSE.
Changefeeds cursors (made with r()$...$changes()$...) will never become empty (provided that connection won't become broken).
Miron B. Kursa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.