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

Owner: Nobody in particular
Requestors: dariusjokilehto [...]

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 [...]" <bug-DBIx-Class [...]>
From: Darius Jokilehto <dariusjokilehto [...]>
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 infrastructure.

Please report any issues with to