MongoQueryMessage constructor
MongoQueryMessage()
Implementation
MongoQueryMessage(
String? collectionFullName,
this.flags,
this.numberToSkip,
this.numberToReturn,
Map<String, dynamic> query,
Map<String, dynamic>? fields) {
if (collectionFullName != null) {
_collectionFullName = BsonCString(collectionFullName);
}
_query = BsonMap(query);
if (fields != null) {
_fields = BsonMap(fields);
}
opcode = MongoMessage.query;
}