function StatementBase::hasClientStatement

Determines if the client-level database statement object exists.

This method should normally be used only within database driver code.

Return value

bool TRUE if the client statement exists, FALSE otherwise.

3 calls to StatementBase::hasClientStatement()
Statement::execute in core/modules/mysqli/src/Driver/Database/mysqli/Statement.php
Executes a prepared statement.
Statement::getClientStatement in core/modules/mysqli/src/Driver/Database/mysqli/Statement.php
Returns the client-level database statement object.
StatementBase::getClientStatement in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Returns the client-level database statement object.

File

core/lib/Drupal/Core/Database/Statement/StatementBase.php, line 96

Class

StatementBase
StatementInterface base implementation.

Namespace

Drupal\Core\Database\Statement

Code

public function hasClientStatement() : bool {
  return isset($this->clientStatement);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.