[Dbix-class] DBIx::Class::Direct: what's wrong with that ?
Marc Chantreux
khatar at phear.org
Tue Jun 8 17:19:06 GMT 2010
On Tue, Jun 08, 2010 at 10:28:08AM -0400, Sir Robert Burbridge wrote:
> Maybe make "Borrowers" a sub that takes connection params and permits defaults
> (loaded from a config or something).
>
> my $rs = Borrowers($dsn, $user, $pwd, $attr)->members_of_branch('MIR');
> my $rs = Borrowers->members_of_branch('MIR');
this may be a good idea! i also would like to experiment
- the DBIx::Class backend of KiokuDB.
- make the DBIx::Class a Storable role for my Moose objects.
Thanks for ideas and advices to all of you.
marc
More information about the DBIx-Class
mailing list