Mercurial > hg > orthanc-databases
comparison Framework/SQLite/SQLiteDatabase.h @ 237:35598014f140
refactoring to remove GlobalProperties.cpp
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Apr 2021 19:09:04 +0200 |
parents | b40b30075c51 |
children | 16aac0287485 |
comparison
equal
deleted
inserted
replaced
236:d1d2edbbe6fb | 237:35598014f140 |
---|---|
51 { | 51 { |
52 return connection_; | 52 return connection_; |
53 } | 53 } |
54 | 54 |
55 void Execute(const std::string& sql); | 55 void Execute(const std::string& sql); |
56 | |
57 bool DoesTableExist(const std::string& table) | |
58 { | |
59 return connection_.DoesTableExist(table.c_str()); | |
60 } | |
61 | 56 |
62 int64_t GetLastInsertRowId() const | 57 int64_t GetLastInsertRowId() const |
63 { | 58 { |
64 return connection_.GetLastInsertRowId(); | 59 return connection_.GetLastInsertRowId(); |
65 } | 60 } |