@adinet/indigodb
Version:
ORM for PostgreSQL and MongoDB with real-time support
9 lines (8 loc) • 330 B
TypeScript
import { DataTypes } from "./dataTypes";
import { Config, ModelSchema } from "./types";
export declare const initialize: (config: Config) => Promise<void>;
export declare const defineModel: <T extends {
_id: any;
}>(name: string, schema: ModelSchema) => any;
export { DataTypes };
export type { Config, ModelSchema };