import type * as mariadb from 'mariadb'; import type { Column, Schema, Table } from '../../schema.js'; import { StatementKind } from '../kind.js'; /** * @see https://mariadb.com/kb/en/information-schema-columns-table/ */ export type ColumnInformation = { CHARACTER_MAXIMUM_LENGTH: bigint | null; CHARACTER_OCTET_LENGTH: bigint | null; CHARACTER_SET_NAME: string | null; COLLATION_NAME: string | null; COLUMN_COMMENT: string; COLUMN_DEFAULT: string | null; COLUMN_KEY: string; COLUMN_NAME: string; COLUMN_TYPE: string; DATA_TYPE: string; DATETIME_PRECISION: bigint | null; EXTRA: string; IS_NULLABLE: 'YES' | 'NO'; NUMERIC_PRECISION: bigint | null; NUMERIC_SCALE: bigint | null; ORDINAL_POSITION: bigint; TABLE_CATALOG: string; TABLE_NAME: string; TABLE_SCHEMA: string; }; export type GetColumnInformationStatementOptions = { table?: Table; column?: Column; }; /** * @see https://mariadb.com/kb/en/information-schema-columns-table/ */ export declare class GetColumnInformationStatement implements mariadb.QueryOptions { readonly schema: Schema; readonly kind = StatementKind.ADMINISTRATIVE; readonly sql: string; constructor(schema: Schema, options?: GetColumnInformationStatementOptions); } //# sourceMappingURL=get-column-information.d.ts.map