Instead of passing the executor instance, we only need to pass the current transaction which is to be used for processing and running any queries.