Dear Django community!
Lets say I have a model instance having an array-field which looks like this: array = [ [A, B], [C, D, E] ]
Now I want to query like this: .filter(array__contains = [ [A], [C,E] ]) and the instance holding the array above should be found. (contains applied to each element of the array individually)
Does contains on arrays work nested like this? Or can I achieve this behavior in Django any how or do I need custom queries (going back to postgresql native code?)
I would love to hear your thoughts on this!