exhaust property
bool
exhaust
Implementation
bool get exhaust => (flags & MongoQueryMessage.OPTS_EXHAUST) != 0;
Stream the data down full blast in multiple “more” packages, on the assumption that the client will fully read all data queried. Faster when you are pulling a lot of data and know you want to pull it all down. Note: the client is not allowed to not read all the data unless it closes the connection.
Implementation
// T O D O Adapt cursor behaviour when enabling exhaust flag
set exhaust(bool value) => value
? flags |= MongoQueryMessage.OPTS_EXHAUST
: flags &= ~(MongoQueryMessage.OPTS_EXHAUST);