Skip to content

getMongoConnectionsOptions

@tsed/testcontainers-mongo

Usage

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

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

Overview

ts
function getMongoConnectionsOptions(opts?: ConnectionOptions): {
    id: string;
    url: string;
    connectionOptions: ConnectOptions;
}[];

id

ts
id: string;

url

ts
url: string;

connectionOptions

ts
connectionOptions: ConnectOptions;

Released under the MIT License.