Re: Problem solved and another one
[prev]
[thread]
[next]
[Date index for 2004/12/14]
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
|
|
Re: Problem solved and another one
Perrin Harkins 20:42 on 14 Dec 2004
|