Skip to content

Commit d5d71c6

Browse files
rcsanchez97kevinAlbs
authored andcommitted
fix typo (#1316)
1 parent 6553040 commit d5d71c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/generate-opts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def __init__(self, items, **defaults):
309309
'returns the value of the document before the associated '
310310
'change.',
311311
}),
312-
('showExpandedEvents', { 'type': 'bool', 'help': 'Set to ``true`` to return an expanded list of change stream events. Avaiable only on MongoDB versions >=6.0'}),
312+
('showExpandedEvents', { 'type': 'bool', 'help': 'Set to ``true`` to return an expanded list of change stream events. Available only on MongoDB versions >=6.0'}),
313313
comment_option_string_pre_4_4,
314314
], fullDocument=None, fullDocumentBeforeChange=None)),
315315

src/libmongoc/doc/includes/change-stream-opts.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
* ``maxAwaitTimeMS``: An ``int64`` representing the maximum amount of time a call to :symbol:`mongoc_change_stream_next` will block waiting for data
1313
* ``fullDocument``: An optional UTF-8 string. Set this option to "default", "updateLookup", "whenAvailable", or "required", If unset, The string "default" is assumed. Set this option to "updateLookup" to direct the change stream cursor to lookup the most current majority-committed version of the document associated to an update change stream event.
1414
* ``fullDocumentBeforeChange``: An optional UTF-8 string. Set this option to "whenAvailable", "required", or "off". When unset, the default value is "off". Similar to "fullDocument", but returns the value of the document before the associated change.
15-
* ``showExpandedEvents``: Set to ``true`` to return an expanded list of change stream events. Avaiable only on MongoDB versions >=6.0
15+
* ``showExpandedEvents``: Set to ``true`` to return an expanded list of change stream events. Available only on MongoDB versions >=6.0
1616
* ``comment``: A :symbol:`bson_value_t` specifying the comment to attach to this command. The comment will appear in log messages, profiler output, and currentOp output. Only string values are supported prior to MongoDB 4.4.

0 commit comments

Comments
 (0)