0
I am training in a digital point hitting app, and I wanted to know how I could create a rule for each user to be able to register 4 daily point i would have the Users document and the Records document
Where document records would have:
username_records => which user is responsible for these records
day records => the day these records were made
user_records => Index Array 4 (Total points per day)
The document User would have:
id => The firebase generated ID
username => The Name of the User
email => The User’s Email Address
And I was wondering if it’s possible reference user_records at the id of user which is in the Users document and if possible, how could I do this ?