Regex in getFinalisedQuery() would not match "column" in ' "table".'column" ' as it's supposed to.
I blew this PR the other day - but I think it's fine now.
Fixes a regexp that could never be matched and was wrong anyway.
Comment and code in GetFinalizedQuery() do not match.
This PR solves an issue in our project where the Query would not contain left joins for addtional tables needed.
+1. Tests please? :)
No updates in 6 months, so closing. If you add the tests, feel free to reopen.