Home
last modified time | relevance | path

Searched refs:QueryOption_CursorTailable (Results 1 – 7 of 7) sorted by relevance

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/
H A Dclientcursor.h78 queryOptions |= QueryOption_CursorTailable; in setTailable()
80 queryOptions &= ~QueryOption_CursorTailable; in setTailable()
156 return _queryOptions & QueryOption_CursorTailable; in isTailable()
H A Ddbmessage.h301 QueryOption_CursorTailable = 1 << 1, enumerator
347 QueryOption_AllSupported = QueryOption_CursorTailable | QueryOption_SlaveOk |
351 QueryOption_AllSupportedForSharding = QueryOption_CursorTailable | QueryOption_SlaveOk |
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/dbtests/
H A Dquerytests.cpp431 ns, Query().hint(BSON("$natural" << 1)), 2, 0, 0, QueryOption_CursorTailable); in run()
454 ns, Query().hint(BSON("$natural" << 1)), 2, 0, 0, QueryOption_CursorTailable); in run()
476 ns, Query().hint(BSON("$natural" << 1)), 2, 0, 0, QueryOption_CursorTailable); in run()
499 ns, Query().hint(BSON("$natural" << 1)), 2, 0, 0, QueryOption_CursorTailable); in run()
524 ns, Query().hint(BSON("$natural" << 1)), 2, 0, 0, QueryOption_CursorTailable); in run()
544 ASSERT_THROWS(_client.query(ns, BSONObj(), 0, 0, 0, QueryOption_CursorTailable), in run()
579 _client.query(ns, QUERY("a" << GT << -1), 0, 0, 0, QueryOption_CursorTailable); in run()
583 _client.query(ns, QUERY("value" << GT << id), 0, 0, 0, QueryOption_CursorTailable); in run()
680 QueryOption_OplogReplay | QueryOption_CursorTailable | in run()
1326 QueryOption_CursorTailable); in run()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/client/
H A Ddbclientcursor.cpp310 if (!(opts & QueryOption_CursorTailable)) { in dataReceived()
319 if (cursorId == 0 || !(opts & QueryOption_CursorTailable)) { in dataReceived()
515 haveLimit(nToReturn > 0 && !(queryOptions & QueryOption_CursorTailable)), in DBClientCursor()
H A Ddbclientcursor.h122 return (opts & QueryOption_CursorTailable) != 0; in tailable()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/repl/
H A Doplogreader.cpp67 _tailingQueryOptions |= QueryOption_CursorTailable | QueryOption_OplogReplay; in OplogReader()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/query/
H A Dquery_request.cpp953 options |= QueryOption_CursorTailable; in getOptions()
955 options |= QueryOption_CursorTailable; in getOptions()
977 bool tailable = (options & QueryOption_CursorTailable) != 0; in initFromInt()