Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 94387
Status: new
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: dariusjokilehto [...] yahoo.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Allow -ident => $col to be passed to the 'select' resultset attribute
Date: Wed, 2 Apr 2014 17:15:31 +0100 (BST)
To: "bug-DBIx-Class [...] rt.cpan.org" <bug-DBIx-Class [...] rt.cpan.org>
From: Darius Jokilehto <dariusjokilehto [...] yahoo.co.uk>
Download (untitled) / with headers
text/plain 334b
It would be handy for the 'select' resultset attribute to accept -ident clauses. However the below code: $rs->search({}, { select => { -ident => $col, -as => $as } }); Produces the following output: 'SELECT -IDENT($col) AS $as' Instead of the expected: 'SELECT $col AS $as' Any reason why the above shouldn't be added to DBIC?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.