Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DatabaseQuery class to support a getDebugQuery() method that r…
…eturns the query (string) with all bind variables populated into the SQL
- Loading branch information
1 parent
44405ee
commit b475148
Showing
2 changed files
with
45 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b475148
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryancramerdesign - excited to see this implemented - thanks for getting it in so quickly. I know @BernhardBaumrock will also be happy.
I just tried to implement into Tracy's "Selector Queries" table, but not sure how. Currently I hook into
PageFinder::getQuery
. Does the PageFinder class need to change to allow me to doPageFinder::getDebugQuery
(or similar), or is there a better way to do this already that I am not thinking of?Thanks.
Just to note that this is now being discussed here: processwire/processwire-issues#1173 (comment)
b475148
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm VERY happy :) :) :)