PDO_CUBRID is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to CUBRID databases.
Note:
Current version of PDO_CUBRID doesn't support persistent connection and lobs type now.
To build the PDO_CUBRID extension, the CUBRID DBMS must be installed on the same system as PHP.
PDO_CUBRID is a » PECL extension, so follow the instructions in PECL 扩展库安装 to install the PDO_CUBRID extension. Issue the configure command to point to the location of your CUBRID base dir as follows:
bash$ ./configure --with-pdo-cubrid=/path/to/CUBRID[,shared]
PECL 扩展的 DLL 当前不可用。参见 在 Windows 上构建 章节。
Information about installation on Linux and Windows manually, please read build-guide.html in PECL package CUBRID for reference.
PDO_CUBRID supports scrollable cursors, and the default cursor type is forward only. You can use PDO::setAttribute to change cursor type.
PDO_CUBRID supports autocommit, and it is disable by default. You can use PDO::setAttribute to enable it.
PDO_CUBRID supports sql statement execution timeout setting; You can use PDO::setAttribute to set timeout value.
下列常量由此驱动定义,且仅在扩展编译入 PHP 或在运行时动态载入时可用。另外,使用此驱动时,仅会使用这些驱动特定的常量。使用其他驱动的驱动特定的常量可能会导致不可预见的情况。 如果代码可运行于多个驱动,PDO::getAttribute() 可被用于获取 PDO_ATTR_DRIVER_NAME 属性以检查驱动。
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.
Is a schema type used for PDO::cubrid_schema function.