Get the primary key field from the model or parameters
public getPrimaryKey ( |
||
$model | The model to introspect. | |
return | array | The columns in the primary key |
public getPrimaryKey ( |
||
$model | The model to introspect. | |
return | array | The columns in the primary key |