Skip to content

LowModel

@tsed/adapters

Usage

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

See /packages/orm/adapters/src/types/adapters/LowDbAdapter.ts.

Overview

ts
interface LowModel<T> {
    collection: T[];
    collectionName?: string;
    modelName?: string;
}

collection

ts
collection: T[];

collectionName

ts
collectionName?: string;

modelName

ts
modelName?: string;

Released under the MIT License.