Suppose I use a jsonb field how do I use it for filter?
example, under Person model, I have a JSONField called data that has the following default
{
"email": "abc",
"address": "abc"
}
And I want to use something like this:
/api/v1/people/?filter{data.email.icontains}=test5&per_page=20&page=1&sort[]=-modified
Is this something i can add as a pull request? I can help to write this
Suppose I use a jsonb field how do I use it for filter?
example, under Person model, I have a JSONField called
datathat has the following default{ "email": "abc", "address": "abc" }And I want to use something like this:
/api/v1/people/?filter{data.email.icontains}=test5&per_page=20&page=1&sort[]=-modifiedIs this something i can add as a pull request? I can help to write this