PHP Class Yajra\Oci8\Eloquent\OracleEloquent

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: yajra/laravel-oci8 Class Usage Examples

Protected Properties

Свойство Type Description
$binaries array List of binary (blob) columns.
$binaryFields array List of binary fields for storage.
$sequence string Sequence name variable

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
checkBinary ( array $attributes ) : boolean Check if attributes contains binary field.
extractBinaries ( array &$attributes ) : array Extract binary fields from given attributes.
insertAndSetId ( Builder $query, array $attributes ) : integer | void Insert the given attributes and set the ID on the model.
newBaseQueryBuilder ( ) : Builder | OracleBuilder Get a new query builder instance for the connection.
performInsert ( Builder $query, array $options = [] ) : boolean Perform a model insert operation.
performUpdate ( Builder $query, array $options = [] ) : boolean Perform a model update operation.
updateBinary ( Builder $query, array $dirty, array $options = [] ) Update model with binary (blob) fields.

Method Details

checkBinary() protected méthode

Check if attributes contains binary field.
protected checkBinary ( array $attributes ) : boolean
$attributes array
Résultat boolean

extractBinaries() protected méthode

Extract binary fields from given attributes.
protected extractBinaries ( array &$attributes ) : array
$attributes array
Résultat array

getQualifiedKeyName() public méthode

Get the table qualified key name.
public getQualifiedKeyName ( ) : string
Résultat string

getSequenceName() public méthode

Get model's sequence name
public getSequenceName ( ) : string
Résultat string

insertAndSetId() protected méthode

Insert the given attributes and set the ID on the model.
protected insertAndSetId ( Builder $query, array $attributes ) : integer | void
$query Illuminate\Database\Eloquent\Builder
$attributes array
Résultat integer | void

newBaseQueryBuilder() protected méthode

Get a new query builder instance for the connection.
protected newBaseQueryBuilder ( ) : Builder | OracleBuilder
Résultat Illuminate\Database\Query\Builder | yajra\Oci8\Query\OracleBuilder

performInsert() protected méthode

Perform a model insert operation.
protected performInsert ( Builder $query, array $options = [] ) : boolean
$query Illuminate\Database\Eloquent\Builder
$options array
Résultat boolean

performUpdate() protected méthode

Perform a model update operation.
protected performUpdate ( Builder $query, array $options = [] ) : boolean
$query Illuminate\Database\Eloquent\Builder
$options array
Résultat boolean

setSequenceName() public méthode

Set sequence name.
public setSequenceName ( string $name )
$name string

update() public méthode

Update the model in the database.
public update ( array $attributes = [], array $options = [] ) : boolean | integer
$attributes array
$options array
Résultat boolean | integer

updateBinary() protected méthode

Update model with binary (blob) fields.
protected updateBinary ( Builder $query, array $dirty, array $options = [] )
$query Illuminate\Database\Eloquent\Builder
$dirty array
$options array

Property Details

$binaries protected_oe property

List of binary (blob) columns.
protected array $binaries
Résultat array

$binaryFields protected_oe property

List of binary fields for storage.
protected array $binaryFields
Résultat array

$sequence protected_oe property

Sequence name variable
protected string $sequence
Résultat string