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
We need to introduce a new Many2Many relationship.
Between Location and GeographyBoundary
The geo query for getting locations inside a boundary is too slow for our production use case.
Therefore we need to model that geographic relationship ourselves. Which is not that big off a deal.
Locations have many GeographyBoundaries (they can be in different sub level boundaries, e.g. state and district, etc)
And Boundaries have many Locations.
This will make the queries a lot faster.
The text was updated successfully, but these errors were encountered:
We need to introduce a new Many2Many relationship.
Between
Location
andGeographyBoundary
The geo query for getting locations inside a boundary is too slow for our production use case.
Therefore we need to model that geographic relationship ourselves. Which is not that big off a deal.
Locations have many GeographyBoundaries (they can be in different sub level boundaries, e.g. state and district, etc)
And Boundaries have many Locations.
This will make the queries a lot faster.
The text was updated successfully, but these errors were encountered: