You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The operation of trip deletion could be very expensive if the number of users grows. The db should be normalized to create a new tripMembers collection, where a document in the collection has the form:
The operation of trip deletion could be very expensive if the number of users grows. The db should be normalized to create a new
tripMembers
collection, where a document in the collection has the form:This would allow a deletion to be done based on the index on
tripId
.Also consider making a similar collection for
tripOwner
.The text was updated successfully, but these errors were encountered: