24 |
dbflib.FTInteger: FIELDTYPE_INT, |
dbflib.FTInteger: FIELDTYPE_INT, |
25 |
dbflib.FTDouble: FIELDTYPE_DOUBLE} |
dbflib.FTDouble: FIELDTYPE_DOUBLE} |
26 |
|
|
27 |
class Table: |
class DBFTable: |
28 |
|
|
29 |
""" |
""" |
30 |
Represent a table of data. |
Table interface for the data in a DBF file |
|
|
|
|
Currently this is basically just a wrapper around dbflib. |
|
31 |
""" |
""" |
32 |
|
|
33 |
# Implementation strategy regarding writing to a DBF file: |
# Implementation strategy regarding writing to a DBF file: |
170 |
self.dbf.write_record(record, values) |
self.dbf.write_record(record, values) |
171 |
self.dbf.commit() |
self.dbf.commit() |
172 |
|
|
173 |
|
|
174 |
|
|
175 |
|
# Temporary backwards compatibility |
176 |
|
Table = DBFTable |