-
Notifications
You must be signed in to change notification settings - Fork 10
How to pass mulltiple values for same column in get request? #10
Description
i want to get the vector tiles for the query like,
api/v1/data/example.mvt?tile=1/0/0&my_column__in=foo,foo1,foo2
In my specific case scenario, I have a column name houseId. Now I would like to extract vector tile, where houseId can take multiple values as illustrated in following code.
/api/v1/data/house.mvt?tile={z}/{x}/{y}&houseId__in=547090906080,547090105191
Simply stating the condition, I would prefer to have an "In" operator which inquires with a list of values over the column in models as in Django ORM filter with code like:
House.objects.filter(houseId__in=[547090906080,547090105191])
Further elaboration can be found in:
https://stackoverflow.com/questions/63217920/how-to-pass-mulltiple-values-for-same-column-in-get-request-vector-tile-django