Mercurial > hg > orthanc
comparison OrthancServer/Search/ISqlLookupFormatter.h @ 3079:65e2bfa953ef db-changes
ISqlLookupFormatter::FormatWildcardEscape()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 14:03:39 +0100 |
parents | 147497152ce3 |
children | f6de9d25b20d |
comparison
equal
deleted
inserted
replaced
3078:147497152ce3 | 3079:65e2bfa953ef |
---|---|
47 | 47 |
48 virtual std::string GenerateParameter(const std::string& value) = 0; | 48 virtual std::string GenerateParameter(const std::string& value) = 0; |
49 | 49 |
50 virtual std::string FormatResourceType(ResourceType level) = 0; | 50 virtual std::string FormatResourceType(ResourceType level) = 0; |
51 | 51 |
52 virtual std::string FormatWildcardEscape() = 0; | |
53 | |
52 static void Apply(std::string& sql, | 54 static void Apply(std::string& sql, |
53 ISqlLookupFormatter& formatter, | 55 ISqlLookupFormatter& formatter, |
54 const std::vector<DatabaseConstraint>& lookup, | 56 const std::vector<DatabaseConstraint>& lookup, |
55 ResourceType queryLevel, | 57 ResourceType queryLevel, |
56 size_t limit); | 58 size_t limit); |