Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Database.php
»
Database
»
Database::closeConnection
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
10 calls to Database::closeConnection()
ConnectionTest::testConnectionClosing
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests the closing of a database connection.
ConnectionUnitTest::testOpenClose
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Tests Database::closeConnection() with a select query.
Database::removeConnection
in drupal/
core/
lib/
Drupal/
Core/
Database/
Database.php
Remove a connection and its corresponding connection information.
db_close
in drupal/
core/
includes/
database.inc
Closes the active database connection.
install_database_errors
in drupal/
core/
includes/
install.core.inc
Checks a database connection and returns any errors.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
sqlite/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
pgsql/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.