预定义常量
以下常量由本扩展模块定义,因此只有在本扩展模块被编译到
PHP 中,或者在运行时被动态加载后才有效。
-
INGRES_ASSOC
(integer)
-
Columns are returned into the array having the fieldname as the array index.
-
INGRES_NUM
(integer)
-
Columns are returned into the array having a numerical index to the fields. This index starts with 1, the first field in the result.
-
INGRES_BOTH
(integer)
-
Columns are returned into the array having both a numerical index and the fieldname as the array index.
-
INGRES_EXT_VERSION
(string)
-
Specifies the version of the Ingres Extension. Available since version 1.2.0 of the PECL extension.
-
INGRES_API_VERSION
(integer)
-
Specifies the version of Ingres OpenAPI the extension was built against. Available since version 1.2.0 of the PECL extension.
-
INGRES_CURSOR_READONLY
(integer)
-
Specifies that Ingres cursors should be opened in 'readonly' mode. Available since version 1.2.0 of the PECL extension.
-
INGRES_CURSOR_UPDATE
(integer)
-
Specifies that Ingres cursors should be opened 'for update'. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_MULTINATIONAL
(integer)
-
Equivalent to the II_DATE_FORMAT setting of MULTINATIONAL. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_MULTINATIONAL4
(integer)
-
Equivalent to the II_DATE_FORMAT setting of MULTINATIONAL4. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_FINNISH
(integer)
-
Equivalent to the II_DATE_FORMAT setting of FINNISH. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_ISO
(integer)
-
Equivalent to the II_DATE_FORMAT setting of ISO. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_ISO4
(integer)
-
Equivalent to the II_DATE_FORMAT setting of ISO4. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_GERMAN
(integer)
-
Equivalent to the II_DATE_FORMAT setting of GERMAN. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_MDY
(integer)
-
Equivalent to the II_DATE_FORMAT setting of MDY. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_DMY
(integer)
-
Equivalent to the II_DATE_FORMAT setting of DMY. Available since version 1.2.0 of the PECL extension.
-
INGRES_DATE_YMD
(integer)
-
Equivalent to the II_DATE_FORMAT setting of YMD. Available since version 1.2.0 of the PECL extension.
-
INGRES_MONEY_LEADING
(integer)
-
Specifies the currency character that should be placed at the start of a money
value. Equivalent to setting II_MONEY_FORMAT to 'L:'. Available since version 1.2.0 of the PECL extension.
-
INGRES_MONEY_TRAILING
(integer)
-
Specifies the currency character that should be placed at the end of a money
value. Equivalent to setting II_MONEY_FORMAT to 'T:'. Available since version 1.2.0 of the PECL extension.
-
INGRES_STRUCTURE_BTREE
(integer)
-
Specifies the default table or index structure to BTREE when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_CBTREE
(integer)
-
Specifies the default table or index structure to COMPRESSED BTREE when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_HASH
(integer)
-
Specifies the default table or index structure to HASH when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_CHASH
(integer)
-
Specifies the default table or index structure to COMPRESSED HASH when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_HEAP
(integer)
-
Specifies the default table structure to HEAP when used in combination with the
table_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_CHEAP
(integer)
-
Specifies the default table structure to COMPRESSED HEAP when used in combination with the
table_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_ISAM
(integer)
-
Specifies the default table or index structure to ISAM when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.
-
INGRES_STRUCTURE_CISAM
(integer)
-
Specifies the default table or index structure to COMPRESSED ISAM when used in combination with the
table_structure or index_structure option when connecting. Available since version 1.4.0 of the PECL extension.