in reply to Re: DBIx::Class creating get_* and set_* methods
in thread DBIx::Class creating get_* and set_* methods

Never use get_column and set_column directly unless you know what the side-effects are. They don't work the same way as using the accessors. Inflation is skipped, resultsets are not returned for relationships, etc.
  • Comment on Re^2: DBIx::Class creating get_* and set_* methods

Replies are listed 'Best First'.
Re^3: DBIx::Class creating get_* and set_* methods
by emazep (Priest) on Feb 08, 2008 at 08:30 UTC
    Never use get_column and set_column directly unless you know what the side-effects are.
    I would rather say "the absence of side-effects" ;-)
    (That's exactly why I often use them and I find them perfectly adequate to get the columns raw values.)

    Anyway you are right, I should have specified that's not exactly the same semantics of the generated accessors.

    Cheers,
    Emanuele.