node-mongo
node-mongo copied to clipboard
Unable to pass collection options
db.createService = (collectionName, options = {}) => {
const collection = db.get(collectionName, { castIds: false });
return new MongoService(collection, options);
};
I need to set default collation for the collection but there is no way to pass options to the monk method.