This class allows one to work with the columns of a particular row in
a more convenient manner (ie, using a disctionary interface). It allows
for the row data to be loaded and saved and is generally easier to use
than the Table class which is really designed for bulk updates and stuff
like that.
The easiest way to separate what these things are for is to remember
that the Table class indexes by KEY, while the Row class indexes by
column
|
|
|
|
|
|
|
|
|
|
|
|
|
reset(self,
val=0)
reset the changed status for these entries |
source code
|
|
|
create(self,
hashval)
create it as a new entry |
source code
|
|
|
|
|
load_sql(self,
sql,
pdict={ } )
load from a sql clause |
source code
|
|
|
save(self,
with_updates=1)
now save an entry |
source code
|
|
Inherited from rhn.UserDictCase.UserDictCase :
__contains__ ,
__delitem__ ,
__getstate__ ,
__iter__ ,
__setstate__ ,
clear ,
dict ,
get_hash ,
has_key ,
items ,
keys ,
update
Inherited from UserDict.UserDict :
__cmp__ ,
__len__ ,
copy ,
iteritems ,
iterkeys ,
itervalues ,
pop ,
popitem ,
setdefault ,
values
|