[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] gmPgObject progress
From: |
Horst Herb |
Subject: |
[Gnumed-devel] gmPgObject progress |
Date: |
Sat, 26 Oct 2002 13:08:20 +1000 |
User-agent: |
KMail/1.4.7 |
saving changes to objects works now under most circumstances, including
automatically dereferenced foreign keys
you can do:
base = pgobject(db, "base", 1)
#selects row qualified by primary key "1" from the table "base"
base[foreign_key][referenced_attribute] = 'something'
and the table referenced by "foreign_key" will have it's attribute
"referenced_attribute" updated on deletion of the base object.
BTW, I discovered a nasty name mangling bug in gmPG which is fixed now.
Horst
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnumed-devel] gmPgObject progress,
Horst Herb <=