W zapytaniu Postgres JSONB Rails

ExternalEntity.mindbody.class_instance.where(business_id: 704040).where("source_data->>'staff_id' IN ('100000016', '100000024')").count
MunnaBhaiyya