From 4ed69b8e4808a28446b9a125dff11684cfcbcf5c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 25 Jul 2005 12:02:10 +0000 Subject: [PATCH] result_type defaults to SQLITE_ASSOC and is available since PHP 5.1.0 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@191439 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/sqlite-fetch-column-types.xml | 35 +++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/reference/sqlite/functions/sqlite-fetch-column-types.xml b/reference/sqlite/functions/sqlite-fetch-column-types.xml index 468c1e7025..d2b2791775 100755 --- a/reference/sqlite/functions/sqlite-fetch-column-types.xml +++ b/reference/sqlite/functions/sqlite-fetch-column-types.xml @@ -1,5 +1,5 @@ - + sqlite_fetch_column_types @@ -57,7 +57,16 @@ result_type - &sqlite.result-type; + + The optional result_type parameter accepts a + constant and determines how the returned array will be indexed. Using + SQLITE_ASSOC will return only associative indices + (named fields) while SQLITE_NUM will return only + numerical indices (ordinal field numbers). + SQLITE_BOTH will return both associative and + numerical indices. SQLITE_ASSOC is the default for + this function. + @@ -72,6 +81,28 @@ &sqlite.case-fold; + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + Added result_type + + + + + + + &reftitle.examples;