Provides routines to extract and save data within the fields of a dbf
record.
|
a new object with type S, a subtype of T
|
__new__(cls,
recnum,
layout,
kamikaze=b'',
_fromdisk=False)
record = ascii array of entire record; layout=record specification;
memo = memo object for table |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_commit_flux(self)
stores field updates to disk; if any errors restores previous
contents and propogates exception |
source code
|
|
|
|
_reindex_record(self)
rerun all indices with this record |
source code
|
|
|
|
_retrieve_field_value(self,
index,
name)
calls appropriate routine to convert value stored in field from array |
source code
|
|
|
|
_rollback_flux(self)
discards all changes since ._start_flux() |
source code
|
|
|
|
|
|
|
_update_field_value(self,
index,
name,
value)
calls appropriate routine to convert value to bytes, and save it in
record |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__reduce__,
__reduce_ex__,
__sizeof__,
__subclasshook__
|