Hello
About a year ago i found this :
SELECT * FROM sal_emp WHERE 10000 = ANY (pay_by_quarter);
where pay_by_quarter is arrayfield, to select rows by value in arrayfield. But since django does not offer postgresql arrayfields support im quite sure it does not support filtering based on arrayfield contents.
But still i would like to be able to do just that in my project - so what should i extend now? Queryset filter method or rather query_utils.Q class? Or should i even bother since this arrayfield can be looked up as string and its contents can be searched like queryset.filter(fieldname_icontains='something') or should i rather use raw query there?
what do you think?
Alan