i am doing a lot of laravel ORM objects and querying to the database from ORM and from query Builder also. What i would like to know is if there is any function to the ORM object or Query BUilder object that could return back to me the actual query string.
like
ORM_object->getResultQuery()