The findBy(1) will not fail if two or more items are found. Having findSingleBy could come handy. There could also be getBy which would fail unless exactly one item is found.
Implemented getBy{} and findSpecificBy{}. The findSingleBy{} was not a good name since it suggested that the function would fail if there were no matching entities.
The findBy(1) will not fail if two or more items are found. Having findSingleBy could come handy. There could also be getBy which would fail unless exactly one item is found.