\Piko\DbRecord\Attribute\Column

Properties summary

Name Description
public $name  
public $primaryKey  

Methods summary

Name Description
public __construct Constructor

Properties

public $name : ?string

public $primaryKey : bool


Methods

public __construct(): mixed

public  __construct(bool  $primaryKey = false, string|null  $name = null): mixed

Constructor for the Column class.

Parameters

$primaryKey (default: false): Indicates if the field is a primary key. Default is false.

$name (default: null): The name of the field. Default is null.

Return:

mixed