Skip to content

MongoDriver

Description

Handles making connections to a MongoDB server.

Method Descriptions

connect_to_server

func connect_to_server(uri: String)

Attempts to create a client connection to a MongoDB server.

Parameters

  • uri: A MongoDB URI representing the connection parameters

Returns: MongoConnection | error Dictionary

Back to top