Search for prepareStatement

  1. Search 7.x for prepareStatement
  2. Search 8.9.x for prepareStatement
  3. Search 10.3.x for prepareStatement
  4. Search 11.x for prepareStatement
  5. Other projects
Title Object type File name Summary
Connection::prepareStatement function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/lib/Drupal/Core/Database/Connection.php Returns a prepared statement given a SQL string.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparationWithThrowExceptionOption function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement with throw_exception option set.

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