summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-05-16 19:33:57 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-05-16 19:33:57 +0000
commitefd7846d341d89c607526e36473c00fa9819d598 (patch)
treeeaf02ab0f841d814a9d12175e3090223cecaf64e /ext/pdo/php_pdo_driver.h
parentbfbbe4110e2fb46f2be34ebd86b73b158c9948d2 (diff)
downloadphp-git-efd7846d341d89c607526e36473c00fa9819d598.tar.gz
[DOC] Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set
into an associated array.
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index e645c58be7..77e2eaeb77 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -90,6 +90,7 @@ enum pdo_fetch_type {
PDO_FETCH_INTO, /* fetch row into an existing object */
PDO_FETCH_FUNC, /* fetch into function and return its result */
PDO_FETCH_NAMED, /* like PDO_FETCH_ASSOC, but can handle duplicate names */
+ PDO_FETCH_KEY_PAIR, /* fetch into an array where the 1st column is a key and all subsequent columns are values */
PDO_FETCH__MAX /* must be last */
};