How should I structure and denormalize private invites in firebase? -


so use case invite has following properties

  • creatorid
  • invitedlist (collection of userids)
  • private/public

how should structure in firebase? how should denormalize invited userids?

typical query "get invites i've either created or been invited to."

i'd imagine want create root node of privateinvites , set index on creatorid? if want list of invites i've been invited to, what's efficient way of setting in firebase? need set denormalized node , duplicate data adding invite each invitedid individually?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -