Table of Contents

TCreateTableCommand.Create Constructor

Creates a TCreateTableCommand for the given table.

Syntax

Unit: Aurelius.Schema.Commands

constructor TCreateTableCommand.Create(ATable: TTableMetadata; ACreateForeignKeys: Boolean);

Parameters

<-> Parameter Type Description
ATable TTableMetadata The table metadata used to generate the CREATE TABLE statement.
ACreateForeignKeys Boolean When True, foreign key constraints are included inline in the CREATE TABLE statement. Used for databases (e.g., SQLite) that do not support ALTER TABLE ... ADD FOREIGN KEY.

See also