Relations in lifecycle functions

You can make a request to the database to get the information you need