Skip to content

AdaptersSettings

@tsed/adapters

Usage

typescript
import { AdaptersSettings } from "@tsed/adapters";

See /packages/orm/adapters/src/types/domain/AdaptersSettings.ts.

Overview

ts
interface AdaptersSettings {
    Adapter?: Type<Adapter>;
    lowdbDir?: string;
    connectionName?: string;
    [key: string]: any;
}

Adapter

ts
Adapter?: Type<Adapter>;

Injectable service to manage database connexion

lowdbDir

ts
lowdbDir?: string;

connectionName

ts
connectionName?: string;

Use the connection name for the RedisAdapter.

[key: string]

ts
[key: string]: any;

Released under the MIT License.