@adinet/indigodb
Version:
ORM for PostgreSQL and MongoDB with real-time support
19 lines (18 loc) • 424 B
TypeScript
export interface ModelSchema {
[key: string]: {
type: string;
primaryKey?: boolean;
autoIncrement?: boolean;
unique?: boolean;
};
}
export interface Config {
databaseType: "postgresql" | "mongodb";
host?: string;
port?: number;
user?: string;
password?: string;
database?: string;
connectionString?: string;
websocketPort?: number;
}