find the uid as a "foreign key" on a record
a better error message (instead of 'Cannot call method toString of undefined'
Merge pull request #2 from jrgm/deleteByUid

find the uid as a "foreign key" on a record