paralect/node-mongo

Unable to pass collection options

Opened this issue · 0 comments

 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.