Skip to main content
Backdrop CMS Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

You are here

  1. Home »
  2. API reference »
  3. 1.x

Search for driver

Name Type Location Description
db_driver function core/includes/database/database.inc Retrieves the name of the currently active database driver.
Database::loadDriverFile function core/includes/database/database.inc Load a file for the database that might hold a class.
DatabaseTasks::$pdoDriver property core/includes/install.inc The PDO driver name for MySQL and equivalent databases.
DatabaseConnection::driver function core/includes/database/database.inc Returns the type of database driver.
DatabaseTasks::hasPdoDriver function core/includes/install.inc Ensure the PDO driver is supported by the version of PHP in use.
backdrop_load_database_driver function core/includes/install.inc Returns all supported database installer objects that are compiled into PHP.
DatabaseTasks_mysql::$pdoDriver property core/includes/database/mysql/install.inc The PDO driver name for MySQL and equivalent databases.
DatabaseConnection_mysql::driver function core/includes/database/mysql/database.inc Returns the type of database driver.
DatabaseConnection::$driverClasses property core/includes/database/database.inc Index of what driver-specific class to use for various operations.
DatabaseConnection::getDriverClass function core/includes/database/database.inc Gets the driver-specific override class if any for the specified class.
DatabaseDriverNotSpecifiedException class core/includes/database/database.inc Exception thrown if no driver is specified for a database connection.
DatabaseStatementPrefetch::$driverOptions property core/includes/database/prefetch.inc Driver-specific options. Can be used by child classes.
  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
    • Contributed modules
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Become a maintainer
    • Adopt a project
    • Contribute to documentation
  • API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org
  • events.backdropcms.org