summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/database/results.rst
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2012-06-27 05:53:34 +0200
committerDerek Jones <derek.jones@ellislab.com>2012-06-27 05:53:34 +0200
commit2a3f51286a872ec563b191da5b8fbb7cbd392191 (patch)
treee316f2c03924f557e2e1c9917d1da5dd3b9289e3 /user_guide_src/source/database/results.rst
parent2fce2a95e99c91c57f7d15b5e441b2cf89193da3 (diff)
parentd13803813b355fccb17dd4f148f43b7a20977781 (diff)
Merge branch 'feature/toc-repair' into develop
Diffstat (limited to 'user_guide_src/source/database/results.rst')
-rw-r--r--user_guide_src/source/database/results.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/database/results.rst b/user_guide_src/source/database/results.rst
index ac4fc3733..d032f734e 100644
--- a/user_guide_src/source/database/results.rst
+++ b/user_guide_src/source/database/results.rst
@@ -139,13 +139,13 @@ parameter:
.. note:: all the functions above will load the whole result into memory (prefetching) use unbuffered_row() for processing large result sets.
unbuffered_row($type)
-=====
+=====================
This function returns a single result row without prefetching the whole result in memory as row() does.
If your query has more than one row, it returns the current row and moves the internal data pointer ahead.
The result is returned as $type could be 'object' (default) or 'array' that will return an associative array.
-
+::
$query = $this->db->query("YOUR QUERY");