Mercurial > hg > orthanc
comparison OrthancServer/Search/ISqlLookupFormatter.h @ 3078:147497152ce3 db-changes
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 12:47:17 +0100 |
parents | 5ebd2ef5e7ae |
children | 65e2bfa953ef |
comparison
equal
deleted
inserted
replaced
3077:aae1d6d31fef | 3078:147497152ce3 |
---|---|
45 { | 45 { |
46 } | 46 } |
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; | |
51 | |
50 static void Apply(std::string& sql, | 52 static void Apply(std::string& sql, |
51 ISqlLookupFormatter& formatter, | 53 ISqlLookupFormatter& formatter, |
52 const std::vector<DatabaseConstraint>& lookup, | 54 const std::vector<DatabaseConstraint>& lookup, |
53 ResourceType queryLevel, | 55 ResourceType queryLevel, |
54 size_t limit); | 56 size_t limit); |