Property | Type | Description | |
---|---|---|---|
$binaries | array | List of binary (blob) columns. | |
$binaryFields | array | List of binary fields for storage. | |
$sequence | string | Sequence name variable |
Method | Description | |
---|---|---|
getQualifiedKeyName ( ) : string | Get the table qualified key name. | |
getSequenceName ( ) : string | Get model's sequence name | |
setSequenceName ( string $name ) | Set sequence name. | |
update ( array $attributes = [], array $options = [] ) : boolean | integer | Update the model in the database. |
Method | Description | |
---|---|---|
checkBinary ( array $attributes ) : boolean | Check if attributes contains binary field. | |
extractBinaries ( array &$attributes ) : array | Extract binary fields from given attributes. | |
insertAndSetId ( |
Insert the given attributes and set the ID on the model. | |
newBaseQueryBuilder ( ) : |
Get a new query builder instance for the connection. | |
performInsert ( |
Perform a model insert operation. | |
performUpdate ( |
Perform a model update operation. | |
updateBinary ( |
Update model with binary (blob) fields. |
protected checkBinary ( array $attributes ) : boolean | ||
$attributes | array | |
return | boolean |
protected extractBinaries ( array &$attributes ) : array | ||
$attributes | array | |
return | array |
public getQualifiedKeyName ( ) : string | ||
return | string |
public getSequenceName ( ) : string | ||
return | string |
protected newBaseQueryBuilder ( ) : |
||
return |
protected performInsert ( |
||
$query | ||
$options | array | |
return | boolean |
protected performUpdate ( |
||
$query | ||
$options | array | |
return | boolean |
public setSequenceName ( string $name ) | ||
$name | string |
protected updateBinary ( |
||
$query | ||
$dirty | array | |
$options | array |
protected array $binaries | ||
return | array |
protected array $binaryFields | ||
return | array |