lib/mongo/client.rb
def list_mongo_databases(filter = {}, opts = {})
      database_names(filter, opts).collect do |name|
        Database.new(self, name, options)
      end
    end
# Returns a list of Mongo::Database objects.
#
# @example Get a list of Mongo::Database objects.
#   client.list_mongo_databases
#
# @param [ Hash ] filter The filter criteria for getting a list of databases.
# @param [ Hash ] opts The command options.
#
# @return [ Array<Mongo::Database> ] The list of database objects.
#
# @since 2.5.0
Returns a list of Mongo::Database objects.
Returns a list of Mongo :: Database objects .
def list_mongo_databases(filter = {}, opts = {})
      database_names(filter, opts).collect do |name|
        Database.new(self, name, options)
      end
    end
def list_mongo_databases ( filter = { } , opts = { } ) database_names ( filter , opts ) . collect do | name | Database . new ( self , name , options ) end end
Returns a list of Mongo::Database objects.
Returns a list of Mongo :: Database objects .
The list of database objects.
The list of database objects .
 Array<Mongo::Database> 
filter
opts
opts The command options.
opts The command options .
example
Get a list of Mongo::Database objects. client.list_mongo_databases
Get a list of Mongo :: Database objects . client . list_mongo_databases
since
None