Function connect

  • Connect to the database.

    Parameters

    Returns Promise<Client>

    A database client, with an active connection.

    Remarks

    You must close the connection after use using Client.end to close open handles.