def __len__(self): return _query(self._dbptr, ds.dbRECORD_COUNT)
def __init__(self, db=None, keys=[]): self._dbptr = db self._tbl = _query(self._dbptr, ds.dbTABLE_NAME) self._keys = keys