[Dbix-class] Excluding columns from a query

Darren Duncan darren at darrenduncan.net
Thu Feb 11 22:24:58 GMT 2010


Nick Wellnhofer wrote:
> If I want to exclude a single column from a query I currently have to 
> list all columns except the one to be excluded in the 'columns' 
> attribute. This is cumbersone and AFAICS doesn't work with prefetch. It 
> would be nice if I could simply pass a list of all the columns I want to 
> be excluded including prefetched ones.
> 
> Or am I missing something?

I don't know if you can do that, but it is certainly a very reasonable thing to 
want to do. -- Darren Duncan



More information about the DBIx-Class mailing list