ColdBox/coldbox-platform — pull request #160 by existdissolve (2013-09-15 16:42:34+00:00)
Title: COLDBOX-203: Query String Retrieval Additions

* Ability to retrieve proposed SQL string at any point in building of Criteria query
* Ability to replace query params with positional values
* Ability to pretty-format SQL string and return wrapped in pre tags
* Ability to retrieve positional values, positional value types, or both in a handy array of structs
* New interception points for onCriteriaBuilderAddition, beforeCriteriaBuilderList, afterCriteriaBuilderList, beforeCriteriaBuilderCount, afterCriteriaBuilderCount
* New interceptor (CriteriaBuilder) for keeping internal tracker of sql-ified criteria builder additions
* New list() results converter (asMappedArray) for projection queries…will return an array of structs whose keys are mapped to the properties/aliases of the projected query
* New SQLHelper object…is used for SQL string building for both DetachedCriteriaBuilder projections and new logging option