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.

 @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