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

Methods

execute  

Included Modules

Specifiable Executable ReadPreferenceSupported PolymorphicResult

Classes and Modules

Class Mongo::Operation::CollectionsInfo::Result

Public Instance methods

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

[Validate]