PHP Class Angejia\Pea\Model

Inheritance: extends Illuminate\Database\Eloquent\Model
Datei anzeigen Open project: angejia/pea Class Usage Examples

Protected Properties

Property Type Description
$disableReadCache
$needCache

Public Methods

Method Description
disableReadCache ( ) 关闭查询数据库的时候读取缓存的逻辑(更新数据库的时候还会更新缓存)
needCache ( )
needFlushCache ( ) 判断更新数据库的时候是否需要更新缓存
newEloquentBuilder ( $query )
primaryKey ( )
table ( )

Protected Methods

Method Description
newBaseQueryBuilder ( )

Method Details

disableReadCache() public static method

关闭查询数据库的时候读取缓存的逻辑(更新数据库的时候还会更新缓存)
public static disableReadCache ( )

needCache() public method

public needCache ( )

needFlushCache() public method

判断更新数据库的时候是否需要更新缓存
public needFlushCache ( )

newBaseQueryBuilder() protected method

protected newBaseQueryBuilder ( )

newEloquentBuilder() public method

public newEloquentBuilder ( $query )

primaryKey() public method

public primaryKey ( )

table() public method

public table ( )

Property Details

$disableReadCache protected_oe static_oe property

protected static $disableReadCache

$needCache protected_oe property

protected $needCache