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

Search for driver

  1. Home »
  2. API reference »
  3. 1.x
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.

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • 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
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • 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

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org