UNPKG

n8n

Version:

n8n Workflow Automation Tool

32 lines (31 loc) 938 B
import type { Driver, TableColumnOptions } from '@n8n/typeorm'; export declare class Column { private name; private type; private isGenerated; private isGenerated2; private isNullable; private isPrimary; private length; private defaultValue; private primaryKeyConstraintName; private commentValue; constructor(name: string); get bool(): this; get int(): this; varchar(length?: number): this; get text(): this; get json(): this; timestamp(msPrecision?: number): this; timestampTimezone(msPrecision?: number): this; timestampNoTimezone(msPrecision?: number): this; get uuid(): this; get primary(): this; primaryWithName(name?: string): this; get notNull(): this; default(value: unknown): this; get autoGenerate(): this; get autoGenerate2(): this; comment(comment: string): this; toOptions(driver: Driver): TableColumnOptions; }