def addLastNP(cls, beatmap: int) -> None: # Delete from np last song cls.execute(Executor.delete('np')) # Insert to np last song cls.addMap(beatmap, 'np')
def truncateTable(cls, table: str = 'month') -> None: cls.execute(Executor.delete(table))