| Class | Mongo::Operation::CollectionsInfo |
| In: |
lib/mongo/operation/collections_info.rb
lib/mongo/operation/collections_info/result.rb |
| Parent: | Object |
A MongoDB operation to get info on all collections in a given database.
@api private
@since 2.0.0
Execute the operation.
@example
operation.execute(server)
@param [ Mongo::Server ] server The server to send the operation to.
@return [ Mongo::Operation::CollectionsInfo::Result,
Mongo::Operation::ListCollections::Result ] The operation result.
@since 2.0.0