// Check if we have collation support if (this.description.maxWireVersion < 5 && options.collation) { callback(new MongoError(`server ${this.name} does not support collation`)); return; }
From Dan: We do this check a lot. Can we make it DRY?
Let's do it!