Table
class Table
Methods
__construct(string $name, array $columns, string|null $schema = null, array $indexes = [], array $foreignKeys = [], array $checks = [], string|null $comment = null, string|null $collation = null, string|null $engine = null, array $parents = [], TableReference|null $partitionOf = null, string|null $partitionBounds = null, array $issues = [])
Create a table definition and index its columns and primary key.
Index|null
primaryKey()
Get the primary key definition.
bool
isComplete()
Determine whether the represented table facts have been fully read.
Details
at line 24
__construct(string $name, array $columns, string|null $schema = null, array $indexes = [], array $foreignKeys = [], array $checks = [], string|null $comment = null, string|null $collation = null, string|null $engine = null, array $parents = [], TableReference|null $partitionOf = null, string|null $partitionBounds = null, array $issues = [])
Create a table definition and index its columns and primary key.
at line 46
Column|null
column(string $name)
Find a column by its exact name.
at line 54
Index|null
primaryKey()
Get the primary key definition.
at line 62
bool
isComplete()
Determine whether the represented table facts have been fully read.