QueryException
Illuminate\Database\QueryException
class src/Illuminate/Database/QueryException.php
__construct
v11.0.0 以前から
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null, $maskBindings = false)
@param string $connectionName
@param string $sql
@param array $bindings
@param \Throwable $previous
@param array $connectionDetails
@param null|'read'|'write'|'direct' $readWriteType
@param bool $maskBindings
-
v11.0.0
追加
- 変更後
__construct($connectionName, $sql, array $bindings, Throwable $previous) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @return void]
-
v12.4.0
シグネチャ変更
- 変更前
__construct($connectionName, $sql, array $bindings, Throwable $previous) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @return void]- 変更後
__construct($connectionName, $sql, array $bindings, Throwable $previous) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous]
-
v12.45.0
シグネチャ変更
- 変更前
__construct($connectionName, $sql, array $bindings, Throwable $previous) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous]- 変更後
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @param array $connectionDetails, @param null|'read'|'write' $readWriteType]
-
v13.17.0
シグネチャ変更
- 変更前
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @param array $connectionDetails, @param null|'read'|'write' $readWriteType]- 変更後
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @param array $connectionDetails, @param null|'read'|'write'|'direct' $readWriteType]
-
v13.27.0
シグネチャ変更
- 変更前
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @param array $connectionDetails, @param null|'read'|'write'|'direct' $readWriteType]- 変更後
__construct($connectionName, $sql, array $bindings, Throwable $previous, array $connectionDetails = [], $readWriteType = null, $maskBindings = false) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @param array $connectionDetails, @param null|'read'|'write'|'direct' $readWriteType, @param bool $maskBindings]
getBindings
v11.0.0 以前から
getBindings()
@return array
-
v11.0.0
追加
- 変更後
getBindings() [@return array]
getConnectionDetails
v12.45.0 から
getConnectionDetails()
@return array
-
v12.45.0
追加
- 変更後
getConnectionDetails() [@return array]
getConnectionName
v11.0.0 以前から
getConnectionName()
@return string
-
v11.0.0
追加
- 変更後
getConnectionName() [@return string]
getRawSql
v12.1.0 から
getRawSql(): string
-
v12.1.0
追加
- 変更後
getRawSql(): string
getSql
v11.0.0 以前から
getSql()
@return string
-
v11.0.0
追加
- 変更後
getSql() [@return string]