UNPKG

miniorm

Version:

A lightweight, minimal TypeScript ORM & query‑builder for MySQL, PostgreSQL and SQLite

28 lines (27 loc) 518 B
interface DefaultConnectionType { host?: string; user?: string; password?: string; database: string; port?: number; ping?: number; } export type ConnectionType = ({ mysql: { type: 'mysql'; } & DefaultConnectionType; pg: { type: 'postgresql'; } & DefaultConnectionType & { ssl?: { rejectUnauthorized: boolean; }; }; sqlite: { type: 'sqlite'; path: string; } & { ping?: number; }; }); export {};