Improve description of return value for queryForList(..)

master
Sam Brannen 6 years ago
parent 4bd22eeb13
commit 8d09222799
  1. 8
      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 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 entry for each row that the query returned. The most generic method is `queryForList(..)`
`queryForList(..)` which returns a `List` where each entry is a `Map` with each entry in which returns a `List` where each entry is a `Map` containing one entry for each column,
the map representing the column value for that row. If you add a method to the above using the column name as the key. If you add a method to the above example to retrieve a
example to retrieve a list of all the rows, it would look like this: list of all the rows, it would look like this:
[source,java,indent=0] [source,java,indent=0]
[subs="verbatim,quotes"] [subs="verbatim,quotes"]

Loading…
Cancel
Save