<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for SLJ</title><link>http://disqus.com/people/SLJ/</link><description></description><language>en</language><lastBuildDate>Thu, 05 Jun 2008 15:50:32 -0000</lastBuildDate><item><title>Re: sqlquery | Documentation Wiki</title><link>http://doc.silverstripe.com/doku.php?id=sqlquery#comment-599420</link><description>I found a concern with this document.   It was with this portion of the instructions for performing a select:&lt;br&gt;&lt;br&gt;$sqlQuery-&amp;gt;from = "&lt;br&gt;  Player&lt;br&gt;  LEFT JOIN Team ON Player.TeamID = Team.ID&lt;br&gt;";&lt;br&gt;$sqlQuery-&amp;gt;where = "&lt;br&gt;  YEAR(Birthday) = 1982&lt;br&gt;";&lt;br&gt;// $sqlQuery-&amp;gt;having = "";&lt;br&gt;&lt;br&gt;The from, where, and having variables should all be arrays since the  SQLQuery's sql() function tries to run implode on them.   The documentation for where and having inside the class itself says they are strings.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SLJ</dc:creator><pubDate>Thu, 05 Jun 2008 15:50:32 -0000</pubDate></item></channel></rss>