Skip to content

MongoConnection

Description

Represents the indexes on a MongoDB collection.

Method Descriptions

get_database_names

func get_database_names(filter: Dictionary)

Gets the names of the databases on the server.

Parameters

  • filter: Optional query expression to filter the returned database names

Returns: Array of database names or error Dictionary

get_database

func get_database(name)

Obtains a database thats represents a logical grouping of collections on a MongoDB server

Parameters

  • name: Name of the database to get

Returns: The MongoGodotDatabase or error Dictionary

Back to top