Re: TEMP fields behaviour
[prev]
[thread]
[next]
[Date index for 2005/01/17]
Hi!
I looked into DBI.pm from Class::DBI to understand how the object values =
are stored from the DBI hash.
After that I figured out that my additional 'temp' field 'since' is calle=
d 'datetime_from' in the sql view.
So I renamed my temp field from 'since' to 'datetime_from' and out-of-the=
-box it gets filled with the right value ;-)
I'm still looking for an example how to subclass an Class::DBI class...
-Alex
-----Urspr=FCngliche Nachricht-----
Von: Peter Speltz [mailto:peterspeltz@xxxxx.xxx]=20
Gesendet: Freitag, 14. Januar 2005 17:59
An: class dbi list
Betreff: Re: TEMP fields behaviour
--- Perrin Harkins <perrin@xxxx.xxx> wrote:
> Peter Speltz wrote:
> > If your CLASS is_a something else (uses the is_a relationship) you ca=
n't
> set
> > TEMP cols in your CLASS (in my experience a few months ago anyway). O=
ne or
> the
> > other sets of TEMP columns trumps rather than them being merged but i=
can't
> > remember which.
>=20
> All Class::DBI objects use @ISA. Do you mean that if you class and a=20=
> class it inherits from both have a TEMP declaration that it won't work?=
=20
> That would make sense to me.
>=20
:) terminology is fun. No. I mean "is_a" in the class dbi sense ie it us=
es the
Class::DBI::Relationship::IsA to inherit from another class.=20
I'd also expect a class's TEMP columns or any other declarations to overr=
ide
any that it inherits via @ISA.
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
>=20
>=20
=3D=3D=3D=3D=3D
pjs
=09
__________________________________=20
Do you Yahoo!?=20
Yahoo! Mail - Helps protect you from nasty viruses.=20
http://promotions.yahoo.com/new_mail
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*=
"*"*
Hinweis: Dieses E-mail kann vertrauliche und gesch=FCtzte Informationen e=
nthalten.
Sollten Sie nicht der beabsichtigte Empf=E4nger sein, verst=E4ndigen Sie =
bitte den Absender und l=F6schen Sie dieses E-mail dann sofort.
Notice: This e-mail contains information that is confidential and may be =
privileged.
If you are not the intended recipient, please notify the sender and then =
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*=
"*"*
|
|
Re: TEMP fields behaviour
Hartmaier Alexander 13:41 on 17 Jan 2005
|