Package spade :: Module dblite :: Class Index
[hide private]
[frames] | no frames]

Class Index

source code

Class used for indexing a base on a field The instance of Index is an attribute the Base instance

Instance Methods [hide private]
 
__init__(self, db, field) source code
 
__iter__(self) source code
 
keys(self) source code
 
__getitem__(self, key)
Lookup by key : return the list of records where field value is equal to this key, or an empty list
source code