> If a resultset has either group_by or collapse set by has_many prefetch > (which is a group_by in a sense) - then we use a subquery to get the > proper count. The as_query method was implemented on the Cursor at the > time it was written (not sure why, I wasn't the implementer). So now > that you have a different cursor, it doesn't return the SQL DBIC needs > in order to construct the subquery.
Thanks for this - I modified my code to not use the group_by and all is well for now. Aran _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
