'Removes the records currently stored in this instance'

def clear(self):

    self._rows = None
    self._rowindex = None
    self._length = None
    self._ids = None
    self._uids = None
    self.files = Storage()
    if self.components:
        for c in self.components:
            self.components[c].clear()
