|
|
__init__(self,
table,
key)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
__getitem__(self,
key)
if key is an integer, returns the matching record; if key is a [slice
| string | tuple | record] returns a List; raises NotFoundError on
failure |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_clear(self)
removes all entries from index |
source code
|
|
|
|
_key(self,
record)
table_name, record_number |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _search(self,
match,
lo=0,
hi=None,
where=None) |
source code
|
|
|
|
index(self,
record,
start=None,
stop=None)
returns the index of record between start and stop start and stop
default to the first and last record |
source code
|
|
|
|
index_search(self,
match,
start=None,
stop=None,
nearest=False,
partial=False)
returns the index of match between start and stop start and stop
default to the first and last record. |
source code
|
|
|
|
|
|
|
query(self,
criteria)
criteria is a callback that returns a truthy value for matching
record |
source code
|
|
|
|
search(self,
match,
partial=False)
returns dbf.List of all (partially) matching records |
source code
|
|
|
Inherited from _Navigation:
bof,
bottom,
current,
current_record,
eof,
first_record,
goto,
last_record,
next_record,
prev_record,
skip,
top
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|