I have model with JSONField, and some of those values in this field can be lists. when I'm search after all the values how bigger than some number, 3 for example. the query returns all the lists even though the values in those lists are smaller, how can i get only the correct rows?
query: Books.objects.filter(pages__t__gte=2):
returns all the books with t>=2 and all the books with list as t, for example: t:[0,1]