From 8d092227993f5a7ab3149e4c5fd9b379772d7d15 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 8 Jul 2018 13:34:56 +0200 Subject: [PATCH] Improve description of return value for queryForList(..) --- src/docs/asciidoc/data-access.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/data-access.adoc b/src/docs/asciidoc/data-access.adoc index 59add5267e..7e9e6688f7 100644 --- a/src/docs/asciidoc/data-access.adoc +++ b/src/docs/asciidoc/data-access.adoc @@ -2942,10 +2942,10 @@ query methods, one for an `int` and one that queries for a `String`. ---- In addition to the single result query methods, several methods return a list with an -entry for each row that the query returned. The most generic method is -`queryForList(..)` which returns a `List` where each entry is a `Map` with each entry in -the map representing the column value for that row. If you add a method to the above -example to retrieve a list of all the rows, it would look like this: +entry for each row that the query returned. The most generic method is `queryForList(..)` +which returns a `List` where each entry is a `Map` containing one entry for each column, +using the column name as the key. If you add a method to the above example to retrieve a +list of all the rows, it would look like this: [source,java,indent=0] [subs="verbatim,quotes"]