VirtualConnectionInterface
interface VirtualConnectionInterface implements ConnectionInterface
VirtualConnectionInterface
ConnectionInterface 를 따르며 DynamicField 처리를 위해 dynamic 메소드 추가
Methods
Begin a fluent query against a database table.
get default connection
Get a schema builder instance for the connection.
return database table schema
set database table schema
Get table prefix name.
get connection by $queryType.
get ProxyManager.
Details
at line 41
DynamicQuery
dynamic(string $table, array $options = array(), bool $proxy = true)
Begin a fluent query against a database table.
at line 48
Connection
getDefaultConnection()
get default connection
at line 55
Builder
getSchemaBuilder()
Get a schema builder instance for the connection.
at line 63
array
getSchema(string $table)
return database table schema
at line 72
bool
setSchemaCache(string $table, bool $force = false)
set database table schema
at line 79
string
getTablePrefix()
Get table prefix name.
at line 89
ConnectionInterface
getConnection(string $type)
get connection by $queryType.
'select' 쿼리일 경우 $slaveConnection 을 넘겨주고 그렇지 않을 경우 $masterConnection 을 반환. database 를 쿼리 실행 시 연결.
at line 97
ProxyManager
getProxyManager()
get ProxyManager.
DynamicQuery 에서 VirtualConnection 를 주입 받아 사용.