Method |
Description |
|
__call ( string $method, array $parameters ) : mixed |
인터페이스에 정의되지 않은 기능을 수행 하기 위함. |
|
__construct ( DatabaseCoupler $coupler, string $name, array $config ) |
Create instance |
|
affectingStatement ( string $query, array $bindings = [] ) : integer |
Run an SQL statement and get the number of rows affected. |
|
beginTransaction ( ) : void |
Start a new database transaction. |
|
commit ( ) : void |
Commit the active database transaction. |
|
connection ( string $type = self::DEFAULT_CONNECTION_NAME ) : Connection |
get connection |
|
delete ( string $query, array $bindings = [] ) : integer |
Run a delete statement against the database. |
|
dynamic ( string $table, array $options = [], boolean $proxy = true ) : DynamicQuery |
DynamicField 를 이용해 처리. |
|
getConnection ( string $type = 'select' ) : Illuminate\Database\ConnectionInterface |
get connection by $queryType. |
|
getDefaultConnection ( ) : Connection |
DynamicQuery 에서 사용
\Illuminate\Database\Query\Builder 를 만들 때 Connection 이 필요함. |
|
getFetchMode ( ) : integer |
Get the default fetch mode for the connection. |
|
getName ( ) : string |
get name for connector |
|
getProxyManager ( ) : ProxyManager |
get ProxyManager. |
|
getSchema ( string $table ) : array |
return database table schema |
|
getSchemaBuilder ( ) : Illuminate\Database\Schema\Builder |
Get a schema builder instance for the connection. |
|
getTablePrefix ( ) : string |
Get table prefix name. |
|
insert ( string $query, array $bindings = [] ) : boolean |
Run an insert statement against the database. |
|
master ( ) : Connection |
get master connection |
|
prepareBindings ( array $bindings ) : array |
Prepare the query bindings for execution. |
|
pretend ( Closure $callback ) : array |
Execute the given callback in "dry run" mode. |
|
query ( ) : DynamicQuery |
Get a new query builder instance. |
|
raw ( mixed $value ) : Illuminate\Database\Query\Expression |
Get a new raw query expression. |
|
rollBack ( ) : void |
Rollback the active database transaction. |
|
select ( string $query, array $bindings = [] ) : array |
Run a select statement against the database. |
|
selectOne ( string $query, array $bindings = [] ) : mixed |
Run a select statement and return a single result. |
|
setFetchMode ( integer $fetchMode ) : integer |
Set the default fetch mode for the connection. |
|
setSchemaCache ( string $table, boolean $force = false ) : boolean |
set database table schema |
|
slave ( ) : Connection |
get slave connection |
|
statement ( string $query, array $bindings = [] ) : boolean |
Execute an SQL statement and return the boolean result. |
|
table ( string $table ) : DynamicQuery |
Begin a fluent query against a database table. |
|
transaction ( Closure $callback ) : mixed |
Execute a Closure within a transaction. |
|
transactionHandler ( ) : TransactionHandler |
get TransactionHandler |
|
transactionLevel ( ) : integer |
Get the number of active transactions. |
|
unprepared ( string $query ) : boolean |
Run a raw, unprepared query against the PDO connection. |
|
update ( string $query, array $bindings = [] ) : integer |
Run an update statement against the database. |
|