comparison OrthancServer/Sources/Search/ISqlLookupFormatter.h @ 4819:70d2a97ca8cb openssl-3.x

integration mainline->openssl-3.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:12:32 +0100
parents f0038043fb97 b8fcd331b4b3
children 2e71a08eea15
comparison
equal deleted inserted replaced
4785:61da49321754 4819:70d2a97ca8cb
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);