The primary key is a column or set of columns that uniquely identifies each row in a table.
$columns = [
'id' => ColumnBuilder::primaryKey(),
];
| public abstract static primaryKey ( boolean $primaryKey = true ) | ||
| $primaryKey | boolean | |
public function primaryKey(bool $primaryKey = true): static;
Signup or Login in order to comment.