Skip to content

getMongoConnectionOptions

@tsed/testcontainers-mongo

Usage

typescript
import { getMongoConnectionOptions } from "@tsed/orm/testcontainers-mongo/src/types/services/ContainerUtils";

See /packages/orm/testcontainers-mongo/src/types/services/ContainerUtils.ts.

Overview

ts
function getMongoConnectionOptions(id?: string, opts?: ConnectOptions): {
    id: string;
    url: string;
    connectionOptions: ConnectOptions;
};

id

ts
id: string;

url

ts
url: string;

connectionOptions

ts
connectionOptions: ConnectOptions;

Released under the MIT License.