Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The api.find/stream methods accept field names from the meta data (customized column names).
  • The api.find/stream methods accept sort column names from the meta data.
  • When field names are used and a raw DB result is returned, the resulting object has keys from the meta data.
  • When you use the api.find/stream variant with a List of named fields, you get the result in a hashmap with these fields. When loading a list of entities (i.e. a result of api.find/stream), the function List api.namedEntities(List) has to be called to convert the result of api.find to a list of maps that have keys from the meta data.
    When you If you use the api.find/stream without the List of fields, you get Objects representing the result which can be converted to a List of hashmaps with named fields using api.namedEntities() or iterator.nextNamedEntity().

...

Limitations of api.find()

...