[Dbix-class] Fwd: [Catalyst] Selecting from more tables (DBIC - bug?)

Ronald J Kimball rkimball+dbixclass at pangeamedia.com
Tue Jan 19 16:45:30 GMT 2010


Thomas L. Shinnick wrote:

> I'm having some of the same questions regarding +select and +as .  It
> seems that using '+select' and '+as' does not stop other columns from
> being returned.  I'm using DBIC 0.08115.

What do you expect +select and +as to do??

+select

     Indicates additional columns to be selected from storage. Works
     the same as "select" but adds columns to the selection.

+as

     Indicates additional column names for those added via "+select".
     See "as".

+select and +as are behaving exactly as documented.  If you want to 
select /only/ the specified columns use select and as, not +select and +as.

Ronald



More information about the DBIx-Class mailing list