Property | Type | Description | |
---|---|---|---|
$dynamic | use dynamic query | ||
$dynamicAttributes | array | dynamic mode 애서 사용될 attributes | |
$keyGenerator | key generator | ||
$proxyOptions | proxy options for database proxy | ||
$resolver | Illuminate\Database\ConnectionResolverInterface | The connection resolver instance. |
Method | Description | |
---|---|---|
fill ( array $attributes ) : void | fill | |
filter ( array $args, array $columns = [] ) : array | $args 로 넘어온 데이터와 $columns 를 비교해서 $args 값을 거른다. | |
getConnectionResolver ( ) : Illuminate\Database\ConnectionResolverInterface | Get the connection resolver instance. | |
getDynamicAttributes ( ) : array | get dynamic attributes | |
getKeyGen ( ) : |
get key generator | |
getProxyOptions ( ) : array | get proxy option | |
newEloquentBuilder ( |
Create a new Eloquent query builder for the model. | |
resolveConnection ( string | null $connection = null ) : |
Resolve a connection instance. | |
save ( array $options = [] ) : boolean | Save the model to the database. | |
setConnectionResolver ( Illuminate\Database\ConnectionResolverInterface $resolver ) : void | Set the connection resolver instance. | |
setDynamic ( boolean $use ) | dynamic query 사용하도록 설정 | |
setKeyGen ( |
Set key generator | |
setProxyOptions ( array $options ) | proxy option 설정 | |
unsetConnectionResolver ( ) : void | Unset the connection resolver for models. |
Method | Description | |
---|---|---|
newBaseQueryBuilder ( ) : |
Illuminate Model 의 newBaseQueryBuilder 변경 VirtualConnection 을 통해 DynamicQuery 를 사용하도록 처리 | |
performInsert ( |
Method | Description | |
---|---|---|
schema ( ) : array | get table schema |
public static getConnectionResolver ( ) : Illuminate\Database\ConnectionResolverInterface | ||
return | Illuminate\Database\ConnectionResolverInterface |
public getDynamicAttributes ( ) : array | ||
return | array |
public getKeyGen ( ) : |
||
return |
protected newBaseQueryBuilder ( ) : |
||
return |
public newEloquentBuilder ( |
||
$query | dynamic query builder | |
return |
protected performInsert ( |
||
$query | Illuminate database eloquent buildere | |
$options | array | options |
return | boolean |
public static resolveConnection ( string | null $connection = null ) : |
||
$connection | string | null | connection name |
return |
public static setConnectionResolver ( Illuminate\Database\ConnectionResolverInterface $resolver ) : void | ||
$resolver | Illuminate\Database\ConnectionResolverInterface | resolver |
return | void |
public setDynamic ( boolean $use ) | ||
$use | boolean | use dynamic query |
public setProxyOptions ( array $options ) | ||
$options | array | proxy options |
public static unsetConnectionResolver ( ) : void | ||
return | void |
protected array $dynamicAttributes | ||
return | array |