Pascal Data Objects

Welcome to Pascal Data Objects (PDO)

Pascal Data Objects provides a consistent interface to access databases. Currently, only the MySQL and Firebird databases are supported, but additional drivers can easily be added. As these drivers are developed, they will be made available. PDO is inspired by the PHP PDO extension, so people familiar with the PHP version will have no problem making the jump to the pascal version. This database interface is heavily modified derivative work of ZeosLib, so therefore it is still covered by the LGPL license. This code was created by John Marino, Director at, for use with their fantasy league manager software. It is compatible with Borland Delphi (tested on version 7) and Free Pascal Compiler 2.0. For FPC, the code has been tested on Windows XP and FreeBSD 4.10, 6.0, and 6.1 Unix.

How to get the latest version of PDO

PDO Methods and Functions

PDOStatement Methods and Functions

Fetchable Data Structures