Search Inside JSON field
rjsnh1522 opened this issue · 2 comments
rjsnh1522 commented
I have a json field like
record 1 = group_name: {
"id": 2,
"name" :"G1"
}
record 2 = group_name: {
"id": 2,
"name" :"G1"
}
record 3 = group_name: {
"id": 1,
"name" :"G0"
}
I need to fetch all the records which has name "G1" case insensitive.
I have tried sending "group_name__name__in" but its not working. I need to fetch multiple records with names.
can you explain ?
rjsnh1522 commented
any update on this?
rpkilby commented
Hi @rjsnh1522. JSON filtering isn't something that's provided by drf-filters. You should look at the issues on django-filter for more clarity.