Calculate the name of a collection based on the full class name of the MongoDocument/MongoRecord.
Calculate the name of a collection based on the full class name of the MongoDocument/MongoRecord. Must be set in Boot before any code that touches the MongoDocumentMeta/MongoMetaRecord.
To get snake_case, use this
RecordRules.collectionName.default.set((_,name) => StringHelpers.snakify(name))
The default WriteConcern used in some places.