Skip to content

MongooseConnectionOptions

@tsed/mongoose

Usage

typescript
import { MongooseConnectionOptions } from "@tsed/mongoose";

See /packages/orm/mongoose/src/types/interfaces/MongooseConnectionOptions.ts.

Overview

ts
interface MongooseConnectionOptions {
    url: string;
    id: string;
    connectionOptions?: ConnectOptions;
}

url

ts
url: string;

id

ts
id: string;

The connection ID

connectionOptions

ts
connectionOptions?: ConnectOptions;

Released under the MIT License.