Manual:Database.php

Description
Database.php contains the  class that serves as a base for all database classes (mysql>Special:MyLanguage/Manual:MySQL|MySQL, postgre>Special:MyLanguage/Manual:PostgreSQL|PostgreSQL, etc). It also contains the DatabaseType interface, which has a number of convenience functions.

Functions
These are invoked using the database abstraction layer accessed via, e.g..