Room&Contact.find() should throw exception when it get more than one value
Created by: lijiarui
When I have two contacts with the same name, using function find()
will return one of the contacts randomly, which is not easy to debug.
We should throw an exception when function find()
return more than one value.