Is there a way to assign an alias to a column when using Finder, similar to SELECT Thread.Forum.Node.title AS forum_title ... ?
When selecting from XFost I'd like to get both the thread title and the node/forum title, but I only end up with the last column listed, which gets simply assigned to 'title'. If I swap the order around, I get the other column instead.
->fetchColumns(['Thread.Forum.Node.title', 'Thread.title']);
I am trying to avoid doing a second query to retrieve the node details.
When selecting from XFost I'd like to get both the thread title and the node/forum title, but I only end up with the last column listed, which gets simply assigned to 'title'. If I swap the order around, I get the other column instead.
->fetchColumns(['Thread.Forum.Node.title', 'Thread.title']);
I am trying to avoid doing a second query to retrieve the node details.