Re: Problem solved and another one

[prev] [thread] [next] [Date index for 2004/12/14]

From: Perrin Harkins
Subject: Re: Problem solved and another one
Date: 20:42 on 14 Dec 2004
On Tue, 2004-12-14 at 13:18 +0100, JJ Merelo wrote:
> How can this reflected in a CDBI class structure? Obviously, Nota.pm
> would reflect 'nota', but what about 'nota_persona'? It adds a column
> to 'nota', but, as far as I have seen, there's no way to inherit and
> change the number of columns, not even a low-level one.

In general I would say that you're talking about freaky Postgres
features that most people don't use, and Class::DBI doesn't have any
direct support for them.  You can add something to Class::DBI::Pg,
especially if all you want is the column names, or you could move the
inheritance stuff out of the database and use something like
Class::DBI::Relationship::IsA.

- Perrin



Problem solved and another one
JJ Merelo 12:18 on 14 Dec 2004

Re: Problem solved and another one
Perrin Harkins 20:42 on 14 Dec 2004

Re: Problem solved and another one
William McKee 21:01 on 16 Dec 2004

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52