Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a onRestaurantUpdate Cloud Function #4

Open
Smuzzy-waiii opened this issue Oct 16, 2024 · 0 comments
Open

Create a onRestaurantUpdate Cloud Function #4

Smuzzy-waiii opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@Smuzzy-waiii
Copy link

Currently each visit doc stores a entire copy of the restaurant details in restaurant_info which means that if a restaurant in the root level restaurants collection is ever updated, the data in the visit docs becomes stale.

Write a onRestaurantUpdate cloud function which updates the restaurant_info across all visit docs in all users when a restaurant in the root level restaurants collection is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant