Re: Relationship::HasVariant
[prev]
[thread]
[next]
[Date index for 2004/10/13]
On Tue, 12 Oct 2004, Ricardo SIGNES wrote:
> HasVariant is for attributes that are stored, if you will, vertically.
> The table that is joined does not have the same primary key, and it may
> have multiple entries.
>
> I'm using this for a system in which there are a few hundred attributes,
> and I'm constantly getting demands for more. Any given object has five
> or six.
>
> Obviously, it's easy to just do has_many to get the list of attributes,
> but I want a number of them to be inflatables, and I can't (as far as I
> can tell) selectively has_a the columns without has_variant.
Ooh, I like this. I might rework it to use bitmap indexing for my evil
project.
Cheers,
A.
--
Aaron J Trevena - Perl Hacker, Kung Fu Geek, Internet Consultant
AutoDia --- Automatic UML and HTML Specifications from Perl, C++
and Any Datasource with a Handler. http://droogs.org/autodia