drizzle-dbml-generator
Version:
Convert your Drizzle ORM schema into DBML markup
14 lines (9 loc) • 340 B
text/typescript
type Options<Schema> = {
schema: Schema;
out?: string;
relational?: boolean;
};
declare function pgGenerate<T>(options: Options<T>): string;
declare function mysqlGenerate<T>(options: Options<T>): string;
declare function sqliteGenerate<T>(options: Options<T>): string;
export { mysqlGenerate, pgGenerate, sqliteGenerate };