Firebird Functions (PDO_FIREBIRD)

簡(jiǎn)介

PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird database.

安裝

Use --with-pdo-firebird[=DIR] to install the PDO Firebird extension, where the optional [=DIR] is the Firebird base install directory.

$ ./configure --with-pdo-firebird

預(yù)定義常量

下列常量由此驅(qū)動(dòng)定義,且僅在擴(kuò)展編譯入 PHP 或在運(yùn)行時(shí)動(dòng)態(tài)載入時(shí)可用。另外,使用此驅(qū)動(dòng)時(shí),僅會(huì)使用這些驅(qū)動(dòng)特定的常量。使用其他驅(qū)動(dòng)的驅(qū)動(dòng)特定的常量可能會(huì)導(dǎo)致不可預(yù)見(jiàn)的情況。如果代碼可運(yùn)行于多個(gè)驅(qū)動(dòng),PDO::getAttribute() 可被用于獲取 PDO_ATTR_DRIVER_NAME 屬性以檢查驅(qū)動(dòng)。

PDO::FB_ATTR_DATE_FORMAT (int)

Sets the date format.

PDO::FB_ATTR_TIME_FORMAT (int)

Sets the time format.

PDO::FB_ATTR_TIMESTAMP_FORMAT (int)

Sets the timestamp format.

目錄