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-check_constraints-table/ */ export type ConstraintInformation = { CONSTRAINT_CATALOG: string; CONSTRAINT_SCHEMA: string; TABLE_NAME: string; LEVEL: string; CHECK_CLAUSE: 'Column' | 'Table'; CONSTRAINT_NAME: string; }; export type GetConstraintInformationStatementOptions = { table?: Table; column?: Column; }; /** * @see https://mariadb.com/kb/en/information-schema-columns-table/ */ export declare class GetConstraintInformationStatement implements mariadb.QueryOptions { readonly schema: Schema; readonly kind = StatementKind.ADMINISTRATIVE; readonly sql: string; constructor(schema: Schema, options?: GetConstraintInformationStatementOptions); } //# sourceMappingURL=get-constraint-information.d.ts.map