Next time you wonder what the performance impact of querying the DB in a loop vs querying outside the loop... 100x faster?
https://fart.social/media/pUqz5ddwLbQnwAaHpC0