@@ -47,6 +47,62 @@ struct _mongoc_cursor_interface_t
47
47
mongoc_host_list_t * host );
48
48
};
49
49
50
+ #define ALLOW_PARTIAL_RESULTS "allowPartialResults"
51
+ #define ALLOW_PARTIAL_RESULTS_LEN 19
52
+ #define AWAIT_DATA "awaitData"
53
+ #define AWAIT_DATA_LEN 9
54
+ #define BATCH_SIZE "batchSize"
55
+ #define BATCH_SIZE_LEN 9
56
+ #define COMMENT "comment"
57
+ #define COMMENT_LEN 7
58
+ #define EXHAUST "exhaust"
59
+ #define EXHAUST_LEN 7
60
+ #define FILTER "filter"
61
+ #define FILTER_LEN 6
62
+ #define FIND "find"
63
+ #define FIND_LEN 4
64
+ #define HINT "hint"
65
+ #define HINT_LEN 4
66
+ #define LIMIT "limit"
67
+ #define LIMIT_LEN 5
68
+ #define MAX "max"
69
+ #define MAX_LEN 3
70
+ #define MAX_AWAIT_TIME_MS "maxAwaitTimeMS"
71
+ #define MAX_AWAIT_TIME_MS_LEN 14
72
+ #define MAX_SCAN "maxScan"
73
+ #define MAX_SCAN_LEN 7
74
+ #define MAX_TIME_MS "maxTimeMS"
75
+ #define MAX_TIME_MS_LEN 9
76
+ #define MIN "min"
77
+ #define MIN_LEN 3
78
+ #define NO_CURSOR_TIMEOUT "noCursorTimeout"
79
+ #define NO_CURSOR_TIMEOUT_LEN 15
80
+ #define OPLOG_REPLAY "oplogReplay"
81
+ #define OPLOG_REPLAY_LEN 11
82
+ #define ORDERBY "orderby"
83
+ #define ORDERBY_LEN 7
84
+ #define PROJECTION "projection"
85
+ #define PROJECTION_LEN 10
86
+ #define QUERY "query"
87
+ #define QUERY_LEN 5
88
+ #define READ_CONCERN "readConcern"
89
+ #define READ_CONCERN_LEN 11
90
+ #define RETURN_KEY "returnKey"
91
+ #define RETURN_KEY_LEN 9
92
+ #define SHOW_DISK_LOC "showDiskLoc"
93
+ #define SHOW_DISK_LOC_LEN 11
94
+ #define SHOW_RECORD_ID "showRecordId"
95
+ #define SHOW_RECORD_ID_LEN 12
96
+ #define SINGLE_BATCH "singleBatch"
97
+ #define SINGLE_BATCH_LEN 11
98
+ #define SKIP "skip"
99
+ #define SKIP_LEN 4
100
+ #define SNAPSHOT "snapshot"
101
+ #define SNAPSHOT_LEN 8
102
+ #define SORT "sort"
103
+ #define SORT_LEN 4
104
+ #define TAILABLE "tailable"
105
+ #define TAILABLE_LEN 8
50
106
51
107
struct _mongoc_cursor_t
52
108
{
0 commit comments