Re: [Maypole] Lazy relationship filling using Postgres constraints

From: Dave Howorth (Dave.Howorth at acm.org)
Date: Tue Jan 25 2005 - 08:05:33 GMT


Sebastian Riedel wrote:
> Marcus Ramberg:
>>And, as maypole uses Class::DBI::Loader, and allows you to pass
>>arguments to CDBI:L .... sri?
>
> It allows you to pass options to DBI, not Loader.

I think the situation is better than that. I believe you can do pretty
much anything you want with the loader, because you have the choice of
instantiating it yourself. Something like:

BeerDB->config->loader(new Class:DBI::Loader(
   whatever => 'other options',
  relationships => 1,
));

> Thats all you need to make it work.

Cheers, Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/05

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT