Re: Mapping column values to objects on create() or select().

[prev] [thread] [next] [Date index for 2005/06/23]

From: Perrin Harkins
Subject: Re: Mapping column values to objects on create() or select().
Date: 02:25 on 23 Jun 2005
On Thu, 2005-06-23 at 03:06 +0100, rcthomas3000+cdbi@xxxxx.xxx wrote:
>  my $showing = Show->create( 
>     { film => 'Clash of the Titans', theater => 'Cinemegaloplex III', ... } );
> 
> Is this a constraint, or a trigger, or validation, or deflation, or
> what?

I would just override create() or make a create_by_name() method that
does what you want.

- Perrin

Re: Mapping column values to objects on create() or select().
Perrin Harkins 02:25 on 23 Jun 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52