<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for SLJ</title><link>http://disqus.com/by/SLJ/</link><description></description><atom:link href="http://disqus.com/SLJ/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 05 Jun 2008 11:50:32 -0000</lastBuildDate><item><title>Re: sqlquery | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=sqlquery#comment-599420</link><description>&lt;p&gt;I found a concern with this document.   It was with this portion of the instructions for performing a select:&lt;/p&gt;&lt;p&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;/p&gt;&lt;p&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.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SLJ</dc:creator><pubDate>Thu, 05 Jun 2008 11:50:32 -0000</pubDate></item></channel></rss>