diff OrthancServer/SQLiteDatabaseWrapper.cpp @ 3056:6c5d4281da4a db-changes

removal of SQLiteDatabaseWrapper::GetAllInternalIds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Dec 2018 13:48:04 +0100
parents 3f986ce336c8
children 6faf575ba9cc
line wrap: on
line diff
--- a/OrthancServer/SQLiteDatabaseWrapper.cpp	Fri Dec 21 13:36:30 2018 +0100
+++ b/OrthancServer/SQLiteDatabaseWrapper.cpp	Fri Dec 21 13:48:04 2018 +0100
@@ -993,20 +993,6 @@
   }
 
 
-  void SQLiteDatabaseWrapper::GetAllInternalIds(std::list<int64_t>& target,
-                                                ResourceType resourceType)
-  {
-    SQLite::Statement s(db_, SQLITE_FROM_HERE, "SELECT internalId FROM Resources WHERE resourceType=?");
-    s.BindInt(0, resourceType);
-
-    target.clear();
-    while (s.Step())
-    {
-      target.push_back(s.ColumnInt64(0));
-    }
-  }
-
-
   void SQLiteDatabaseWrapper::GetAllPublicIds(std::list<std::string>& target,
                                               ResourceType resourceType)
   {