Fully Qualified Name: | Laminas\Db\Adapter\Driver\Sqlsrv\Statement |
Implements: | StatementInterface, ProfilerAwareInterface |
Name | Description | Defined By |
---|---|---|
execute() | Execute | Statement |
getParameterContainer() | Statement | |
getProfiler() | Statement | |
getResource() | Get resource | Statement |
getSql() | Get sql | Statement |
initialize() | One of two resource types will be provided here: a) "SQL Server Connection" when a prepared statement needs to still be produced b) "SQL Server Statement" when a prepared statement has been already produced (there will need to already be a bound param set if it applies to this query) | Statement |
isPrepared() | Statement | |
prepare() | Statement | |
setDriver() | Set driver | Statement |
setParameterContainer() | Set parameter container | Statement |
setPrepareOptions() | Statement | |
setPrepareParams() | Statement | |
setProfiler() | Statement | |
setResource() | Statement | |
setSql() | Statement |
Execute
Parameter Name | Type | Description |
---|---|---|
$parameters | null|array|\ParameterContainer |
Returns: \Result
Returns: \ParameterContainer
Returns: null|\Profiler\ProfilerInterface
Get resource
Returns: resource
Get sql
Returns: string
One of two resource types will be provided here: a) "SQL Server Connection" when a prepared statement needs to still be produced b) "SQL Server Statement" when a prepared statement has been already produced (there will need to already be a bound param set if it applies to this query)
Parameter Name | Type | Description |
---|---|---|
$resource | resource |
Returns: self Provides a fluent interface
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$sql | string | |
$options | array |
Returns: self Provides a fluent interface
Set driver
Parameter Name | Type | Description |
---|---|---|
$driver | \Sqlsrv |
Returns: self Provides a fluent interface
Set parameter container
Parameter Name | Type | Description |
---|---|---|
$parameterContainer | \ParameterContainer |
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$prepareOptions | array |
Returns:
Parameter Name | Type | Description |
---|---|---|
$prepareParams | array |
Returns:
Parameter Name | Type | Description |
---|---|---|
$profiler | \Profiler\ProfilerInterface |
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$resource | ||
$resource |
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$sql | string |
Returns: self Provides a fluent interface