Query pool delegation addresses at epoch boundary

Hey all, I’m looking for a way to query the blockchain for a list of delegators to my pool at the boundary leading into a specific epoch.

If you run an instance of cardano-db-sync then a simple SQL query would give you want you want.