mongoc_cursor_is_alive() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- API Reference »
- mongoc_cursor_t

# mongoc_cursor_is_alive()

## Synopsis

    bool
    mongoc_cursor_is_alive (const mongoc_cursor_t *cursor);

## Parameters

- `cursor`: A mongoc_cursor_t.

## Description

Checks to see if a cursor is in a state that allows for more documents to be queried.

This is primarily useful with tailable cursors.

## Returns

true if there may be more content to retrieve from the cursor.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.