sc0ttkclark/pods — Issue #79: Weird issue with ISNULL
Author: joernschellhaas
Created: 2011-12-29 14:19:06+00:00
State: open

When I use:
`$events->findRecords(array("orderby" => "t.begin ASC", "where" => "t.end >= NOW() AND ISNULL( course.id )"));` I don't get a SQL error, however when I use
`$events->findRecords(array("orderby" => "t.begin ASC", "where" => "t.end >= NOW() AND ISNULL(course.id)"));` I get one.
I think that happens because Pods parses the SQL in order to determine which relationships to JOIN?