activerecord-filter icon indicating copy to clipboard operation
activerecord-filter copied to clipboard

Filter by association count

Open calebfaruki opened this issue 2 years ago • 0 comments

If there was a way to do this without a counter cache column, that would be ideal. For example, how to query orders by how many have no items, 1 item, or more than 1 item.

calebfaruki avatar May 03 '22 12:05 calebfaruki