Mercurial > hg > orthanc-databases
comparison Framework/PostgreSQL/PostgreSQLDatabase.h @ 266:cc7af42d4f23
Store revisions for metadata and attachments in PostgreSQL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Apr 2021 17:41:44 +0200 |
parents | d663d9e44f8d |
children | 16aac0287485 |
comparison
equal
deleted
inserted
replaced
265:cd73e34d5411 | 266:cc7af42d4f23 |
---|---|
64 | 64 |
65 void AdvisoryLock(int32_t lock); | 65 void AdvisoryLock(int32_t lock); |
66 | 66 |
67 void ExecuteMultiLines(const std::string& sql); | 67 void ExecuteMultiLines(const std::string& sql); |
68 | 68 |
69 bool DoesTableExist(const char* name); | 69 bool DoesTableExist(const std::string& name); |
70 | |
71 bool DoesColumnExist(const std::string& tableName, | |
72 const std::string& columnName); | |
70 | 73 |
71 void ClearAll(); // Only for unit tests! | 74 void ClearAll(); // Only for unit tests! |
72 | 75 |
73 virtual Dialect GetDialect() const ORTHANC_OVERRIDE | 76 virtual Dialect GetDialect() const ORTHANC_OVERRIDE |
74 { | 77 { |