Closed mattybojo closed 11 months ago
Currently the code checks only the uid for personal items. Update the sharedWith array so it only has the uid of the owner when saved to the DB. In that way, only the sharedWith property has to be checked, which removes 1 query disjunction.
Currently the code checks only the uid for personal items. Update the sharedWith array so it only has the uid of the owner when saved to the DB. In that way, only the sharedWith property has to be checked, which removes 1 query disjunction.