How to get the compression type of a MongoDB collection ?!
To specify compression for specific collections, you’ll need to override the defaults by passing the appropriate options in the db.createCollection() command. For example, to create a collection called “myNewCol” using the zlib compression library: db.createCollection( “myNewCol”, { storageEngine: { wiredTiger:…