Ticket projections

In the code do we need to take care of the database connection to mflix as well as the query ?