PluginsWhat you've got loaded..
Select String
Lets you get the string produced by the select
argument to findAll()
. This is useful for example when you need to add properties to the select string that CFWheels doesn't add automatically (such as when associations produce joins to the same table multiple times).
Usage Example
local.selectString = model("employee").selectString(include="manager"); local.selectString = ListAppend(local.selectString, "managers.name AS managerName"); local.employees = model("employee").findAll(include="manager", select=local.selectString);