def load_all_dbs() -> int: """ Loads from disk all previously persisted database spaces on the data file defined at the config file I{settings.py} :since: 0.7 :return: count of persisted db spaces """ return backend.loadalldbs(db_path)
def load_all_dbs_as(path: str) -> int: """ Loads from disk all previously persisted database spaces. (File resulting from a previous call to L{saveAllDbs}). :since: 0.7 :param path: Target filesystem full path of the file where data is stored at. :return: total db spaces read """ return backend.loadalldbs(path)