Mercurial > hg > orthanc-databases
comparison Resources/Orthanc/Databases/ISqlLookupFormatter.h @ 354:2a3bbb4104fa
fix changeset 389c037387ea
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Nov 2021 13:17:51 +0100 |
parents | f2e160b2dc3e |
children | 1280b40d6696 |
comparison
equal
deleted
inserted
replaced
353:389c037387ea | 354:2a3bbb4104fa |
---|---|
46 | 46 |
47 virtual std::string FormatResourceType(ResourceType level) = 0; | 47 virtual std::string FormatResourceType(ResourceType level) = 0; |
48 | 48 |
49 virtual std::string FormatWildcardEscape() = 0; | 49 virtual std::string FormatWildcardEscape() = 0; |
50 | 50 |
51 /** | |
52 * Whether to escape '[' and ']', which is only needed for | |
53 * MSSQL. New in Orthanc 1.9.8, from the following changeset: | |
54 * https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea | |
55 **/ | |
56 virtual bool IsEscapeBrackets() const = 0; | |
57 | |
51 static void Apply(std::string& sql, | 58 static void Apply(std::string& sql, |
52 ISqlLookupFormatter& formatter, | 59 ISqlLookupFormatter& formatter, |
53 const std::vector<DatabaseConstraint>& lookup, | 60 const std::vector<DatabaseConstraint>& lookup, |
54 ResourceType queryLevel, | 61 ResourceType queryLevel, |
55 size_t limit); | 62 size_t limit); |