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
  1. v11.0.0 追加
    変更後
    __construct($connectionName, $sql, array $bindings, Throwable $previous) [@param string $connectionName, @param string $sql, @param array $bindings, @param \Throwable $previous, @return void]
  2. 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]
  3. 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]
  4. 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]
  5. 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
  1. v11.0.0 追加
    変更後
    getBindings() [@return array]

getConnectionDetails

v12.45.0 から

getConnectionDetails()
@return array
  1. v12.45.0 追加
    変更後
    getConnectionDetails() [@return array]

getConnectionName

v11.0.0 以前から

getConnectionName()
@return string
  1. v11.0.0 追加
    変更後
    getConnectionName() [@return string]

getRawSql

v12.1.0 から

getRawSql(): string
  1. v12.1.0 追加
    変更後
    getRawSql(): string

getSql

v11.0.0 以前から

getSql()
@return string
  1. v11.0.0 追加
    変更後
    getSql() [@return string]