UNPKG

@ticatec/node-common-library

Version:

A comprehensive Node.js database access framework providing robust abstractions for database connection management, SQL execution, transaction handling, pagination, and dynamic query building.

26 lines (25 loc) 387 B
/** * 字段的类型 */ export declare enum FieldType { Text = "Text", Number = "Number", Date = "Date" } /** * 数据库字段接口定义 */ export default interface Field { /** * 字段名称 */ name: string; /** * 字段数据类型 */ type: FieldType; /** * 字段最大长度(可选) */ length?: number; }