UNPKG

typescript-mysql-model

Version:

{ "version": "1.2.46", "name": "typescript-mysql-model", "description": "", "main": "index.js", "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url":

15 lines (14 loc) 598 B
import { TableClass } from "./table-class"; import { IDatabaseSchema } from "./mysql-database-definition"; import { SchemaOperator } from "./schema-operator"; export declare class GettersBuilder extends SchemaOperator { private typeMap; private compiledTemplate; private compiledGetTemplate; private compiledCountInsertTemplate; private compailedGetSingularTemplate; constructor(model: IDatabaseSchema, typeMap: Map<string, string>); render(tables: TableClass[], relativePath?: string): string; private renderGetSingularTemplateInput; private renderImportRow; }