OPTIONS

cursor.addOption()

On this page

Deprecated since version 3.2: cursor.addOption() is deprecated. Use the available cursor methods to change the behavior of a query.

Definition

cursor.addOption(flag)

Adds OP_QUERY wire protocol flags, such as the tailable flag, to change the behavior of queries.