Provides routines to extract and save data within the fields of a dbf
record.
|
|
|
_updateFieldValue(yo,
fielddef,
value)
calls appropriate routine to convert value to ascii bytes, and save
it in record |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_createBlankRecord(yo)
creates a blank record data chunk |
source code
|
|
|
|
|
gather_fields(yo,
dictionary,
drop=False)
saves a dictionary into a record's fields keys with no matching field
will raise a FieldMissing exception unless drop_missing = True |
source code
|
|
|
read_record(yo)
refresh record data from disk |
source code
|
|
|
|
|
reset_record(yo,
keep_fields=None)
blanks record |
source code
|
|
|
scatter_fields(yo,
blank=False)
returns a dictionary of fieldnames and values which can be used with
gather_fields(). |
source code
|
|
|
|
|
write_record(yo,
**kwargs)
write record data to disk |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__
|