QUERY PLAN
HashAggregate (cost=374.83..376.06 rows=123 width=12)
Group Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..374.17 rows=131 width=8)
Filter: (project_id = ANY ('{1111,4187,4184,4139,4174,3796,3854,1018,4186,4126}'::integer[]))