// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DataType } from "./DataType";
import type { Expression } from "./Expression";

/**
 * Computed/generated column constraint
 */
export type ComputedColumn = { 
/**
 * The expression that computes the column value
 */
expression: Expression, 
/**
 * PERSISTED (TSQL) or STORED (MySQL/PostgreSQL) = true; VIRTUAL = false; None = not specified
 */
persisted: boolean, 
/**
 * NOT NULL (TSQL computed columns)
 */
not_null: boolean, 
/**
 * The persistence keyword used: "STORED", "VIRTUAL", or "PERSISTED"
 * When None, defaults to dialect-appropriate output
 */
persistence_kind: string | null, 
/**
 * Optional data type for SingleStore: AS (expr) PERSISTED TYPE NOT NULL
 */
data_type?: DataType | null, };
