Hello Django community!
I would like to filter my database using a contained_by operation on each element in a Array/JSONB field.
Instance has arrayfield: [[A, B],[C, D, E]]
I would like to apply the follwing filter to find this instance (written like python in-line loop):
.filter(array_element contained by [A, B, C, D, E] for array_element in array)
Because the arrayfield can have variable length I cannot index each contains operation explicitly. Is there a way in Django to do something like this?
Thank you for you help!