UNPKG

kysely-codegen

Version:

`kysely-codegen` generates Kysely type definitions from your database. That's it.

24 lines (23 loc) 708 B
export type ColumnMetadataOptions = { comment?: string | null; dataType: string; dataTypeSchema?: string; enumValues?: string[] | null; hasDefaultValue?: boolean; isArray?: boolean; isAutoIncrementing?: boolean; isNullable?: boolean; name: string; }; export declare class ColumnMetadata { readonly comment: string | null; readonly dataType: string; readonly dataTypeSchema: string | undefined; readonly enumValues: string[] | null; readonly hasDefaultValue: boolean; readonly isArray: boolean; readonly isAutoIncrementing: boolean; readonly isNullable: boolean; readonly name: string; constructor(options: ColumnMetadataOptions); }