UNPKG

quick-erd

Version:

quick and easy text-based ERD + code generator for migration, query, typescript types and orm entity

11 lines (10 loc) 241 B
import type * as ast from './ast'; export type Column = { table: string; field: string; }; export declare function generateQuery(columns: Column[], tableList: ast.Table[]): { tsType: string; sql: string; knex: string; };