I have a jsonb field in one of my django model. There are few key value pairs in this json in table with __ in key name. Eg json: ``` data: {'base_cover__tenure': 2, 'base_cover__variant': '125 Z', } ``` How can I create a queryset to filter on these fields? I have tried this ```MyModel.objects.filter(data__base_cover__tenure__gte=1)```, which obviously doesn't work.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/662eb68a-ea7d-48c7-bbff-7215b988d695%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.