Skip to content

How to pass mulltiple values for same column in get request? #10

@krishnakafle

Description

@krishnakafle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions