On Mon, Jul 13, 2009 at 11:03 AM, Rob Kinyon<[email protected]> wrote:
> On Mon, Jul 13, 2009 at 11:52, Paul Makepeace<[email protected]> wrote:
> [snip]
>> specifically, FROM (SELECT COUNT( publication_story.uid ) AS
>> story_count, ... looks wrong. Or should I update my code somehow?
>>
>> This error coincides with upgrading to latest DBIx::Class today.
>
> What do you expect to see?

My question is what do _you_ expect to see?

   select => [{ count => 'publication_story.uid' }, ...
   as => [qw/story_count ...

I would fairly reasonably expect to produce SELECT
COUNT(publication_story.uid) AS story_count and not have that appear
in the FROM clause (?!)

This has been working until today when I upgraded, so a recent version
of $module has broken this.

Paul


>
> Rob
>
> _______________________________________________
> 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]
>

_______________________________________________
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]

Reply via email to