After a merge, put the merged version of each joined row in place of the row on the entity that joined it. The merged
version is found as the same row: the one in dataSet[joinEntity] whose fields include every field of the joined row
with the same values (merging only adds fields). Matching by the join field instead (where joinProp = value) gave
every joined row the first row holding that value: an author's three books came back as the first book three times.
Two rows equal in every field have equal merged versions, so either one is right.
Parameters
dataSet: any
entityName: any
entityKey: any
joinEntity: any
joinProp: any
The merge's field on joinEntity: a joined row without it isn't part of this merge, and is left as it is.
After a merge, put the merged version of each joined row in place of the row on the entity that joined it. The merged version is found as the same row: the one in dataSet[joinEntity] whose fields include every field of the joined row with the same values (merging only adds fields). Matching by the join field instead (
where joinProp = value) gave every joined row the first row holding that value: an author's three books came back as the first book three times. Two rows equal in every field have equal merged versions, so either one is right.