QBStreamOptions
Index
Properties
Properties
optionalmapResults
optionalmergeResults
When populating to-many relations, the ORM streams fully merged entities instead of yielding every row.
You can opt out of this behavior by specifying mergeResults: false. This will yield every row from
the SQL result, but still mapped to entities, meaning that to-many collections will contain at most
one item, and you will get duplicate root entities when they have multiple items in the populated
collection.
optionalrawResults
When enabled, the driver will return the raw database results without renaming the fields to match the entity property names.
Results are mapped to entities, if you set
mapResults: falseyou will get POJOs instead.