summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-19 23:11:23 +0000
committerMarcus Boerger <helly@php.net>2005-02-19 23:11:23 +0000
commit474fcab6235237588af5ef4e5ce2e454e6ec4a5b (patch)
tree5cdfd389d3bbebbd7e2d76d1979c228f9d59aabf /ext/pdo/php_pdo_driver.h
parent1fee3962b09dcee3daf625e305d8fccff750159c (diff)
downloadphp-git-474fcab6235237588af5ef4e5ce2e454e6ec4a5b.tar.gz
- Add PDO_FETCH_GROUP to fetchAll()
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 51d3f80d72..02d30fdaef 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -81,6 +81,9 @@ enum pdo_fetch_type {
PDO_FETCH__MAX /* must be last */
};
+#define PDO_FETCH_FLAGS 0xFFFF0000 /* fetchAll() modes or'd to PDO_FETCH_XYZ */
+#define PDO_FETCH_GROUP 0x00010000 /* fetch into groups */
+
/* fetch orientation for scrollable cursors */
enum pdo_fetch_orientation {
PDO_FETCH_ORI_NEXT, /* default: fetch the next available row */