Changes between Version 6 and Version 7 of NifDB


Ignore:
Timestamp:
Apr 17, 2012, 10:13:31 AM (13 years ago)
Author:
manualwiki
Comment:

tiny changes in NifDB

Legend:

Unmodified
Added
Removed
Modified
  • NifDB

    v6 v7  
    5050% and file operations (e.g. adding or dropping a file). 
    5151ri:backup(). 
    52  
    53 % After that the output will be 
    5452{ok, backup.1} 
    5553% This backup will be created in the directory of the graph 
     
    7371ri:ls_backups(). 
    7472 
    75 % Undo all changes made since the last backup. So it will load 'backup.2'. 
    76 ri:undo(). 
    77  
    78 % You can restore a certain backup. 
    79 % Here you can specify the backup as in ri:backup_info/1. 
     73% You can restore a certain backup by specifying it as in ri:backup_info/1. 
    8074ri:restore(1). 
    8175 
     
    123117ri:delete_graph(some_other_name). 
    124118 
    125 % Or you can just delete all graphs. 
     119% ... or you can just delete all graphs. 
    126120% After the deletion, it creates the default refactorerl_0 graph. 
    127121ri:delete_all_graphs().