Re: [RDBO] many to many map with 4 tables

2007-02-22 Thread Peter Karman
Peter Karman scribbled on 2/22/07 11:15 AM: > package AL::Fresco::User; > use strict; > use base qw(AL::Fresco::DB::Object); > > __PACKAGE__->meta->setup( > table => 'users', > columns => [ >id => {type => 'int', not_null => 1}, >username =>

[RDBO] many to many map with 4 tables

2007-02-22 Thread Peter Karman
I'm struggling to discern whether my failure here is my syntax or a limitation in the RDBO magic. Forgive me if is this is documented somewhere; the many to many examples I've looked at today (and used before) deal with 3 tables, e.g., widgets, colors and widget_color_map. What I'm trying to do

Re: [RDBO] Customising R:D:O:Loader generated methods

2007-02-22 Thread Adrian Howard
On 21 Feb 2007, at 23:40, Ask Bjørn Hansen wrote: > > On Feb 21, 2007, at 3:10, Adrian Howard wrote: > >> Rose::DB::Object::Loader->new( >> db => MyApp::DB->new, >> class_prefix => 'MyApp' >> )->make_classes( >> pre_init_hook => sub { >> my $meta = shift; >>