Mercurial > hg > orthanc-databases
diff 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 |
line wrap: on
line diff
--- a/Resources/Orthanc/Databases/ISqlLookupFormatter.h Mon Nov 15 12:22:44 2021 +0100 +++ b/Resources/Orthanc/Databases/ISqlLookupFormatter.h Thu Nov 25 13:17:51 2021 +0100 @@ -48,6 +48,13 @@ virtual std::string FormatWildcardEscape() = 0; + /** + * Whether to escape '[' and ']', which is only needed for + * MSSQL. New in Orthanc 1.9.8, from the following changeset: + * https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea + **/ + virtual bool IsEscapeBrackets() const = 0; + static void Apply(std::string& sql, ISqlLookupFormatter& formatter, const std::vector<DatabaseConstraint>& lookup,