comparison OrthancServer/DatabaseWrapper.cpp @ 413:47d63c941902

clearing /exports and /changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 May 2013 15:23:09 +0200
parents 4d5f0857ec9c
children ccf3a0a43dac
comparison
equal deleted inserted replaced
412:f1a0c472af79 413:47d63c941902
900 // Initialize the sequence at "1" 900 // Initialize the sequence at "1"
901 SetGlobalProperty(property, "1"); 901 SetGlobalProperty(property, "1");
902 return 1; 902 return 1;
903 } 903 }
904 } 904 }
905
906
907 void DatabaseWrapper::ClearTable(const std::string& tableName)
908 {
909 db_.Execute("DELETE FROM " + tableName);
910 }
905 } 911 }