Пример #1
0
 def __len__(self):
     return _query(self._dbptr, ds.dbRECORD_COUNT)
Пример #2
0
 def __init__(self, db=None, keys=[]):
     self._dbptr = db
     self._tbl = _query(self._dbptr, ds.dbTABLE_NAME)
     self._keys = keys