Adapt PHP PDO API to database-vendor specific APIs