PHP 클래스 Yajra\Oci8\Eloquent\OracleEloquent

상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: yajra/laravel-oci8 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$binaries array List of binary (blob) columns.
$binaryFields array List of binary fields for storage.
$sequence string Sequence name variable

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

checkBinary() 보호된 메소드

Check if attributes contains binary field.
protected checkBinary ( array $attributes ) : boolean
$attributes array
리턴 boolean

extractBinaries() 보호된 메소드

Extract binary fields from given attributes.
protected extractBinaries ( array &$attributes ) : array
$attributes array
리턴 array

getQualifiedKeyName() 공개 메소드

Get the table qualified key name.
public getQualifiedKeyName ( ) : string
리턴 string

getSequenceName() 공개 메소드

Get model's sequence name
public getSequenceName ( ) : string
리턴 string

insertAndSetId() 보호된 메소드

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
리턴 integer | void

newBaseQueryBuilder() 보호된 메소드

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

performInsert() 보호된 메소드

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

performUpdate() 보호된 메소드

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

setSequenceName() 공개 메소드

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

update() 공개 메소드

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

updateBinary() 보호된 메소드

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

프로퍼티 상세

$binaries 보호되어 있는 프로퍼티

List of binary (blob) columns.
protected array $binaries
리턴 array

$binaryFields 보호되어 있는 프로퍼티

List of binary fields for storage.
protected array $binaryFields
리턴 array

$sequence 보호되어 있는 프로퍼티

Sequence name variable
protected string $sequence
리턴 string