Closed Jaymon closed 1 year ago
I think this might be more likely to work:
q.raw_field('MAX("foo") = %s', value)
and MAX("foo") = %s
would just get added to the select query at the appropriate place and value
would be added to the query args if it was passed in.
so you could do something like:
and
MAX("foo")
would be passed directly for thefoo
field. This is a totally fake example, but it should get the idea across about what I'm thinking