ychi / fire-elect

1 stars 3 forks source link

Design Firestore Schema #13

Open ychi opened 4 years ago

ychi commented 4 years ago

Design schema to store realtime statistics. Roughly: For each constituency: vote counts for each candidate, number of polling stations, number of polling station that completed counting.

What is collection and what is document? How to update data?