I need to check is property exists in document in store. allow update, delete: if resource.data.uid; in code above i have error \"Property uid is undefined on o
allow update, delete: if resource.data.uid;
To check if the document contains a specific field, I use in:
in
allow update, delete: if 'uid' in resource.data;