comparison Resources/Orthanc/Databases/ISqlLookupFormatter.h @ 397:c4f0f8087564 db-protobuf

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Apr 2023 19:07:19 +0200
parents 1280b40d6696
children 8dedfd982b83
comparison
equal deleted inserted replaced
396:7b3acfa95bd8 397:c4f0f8087564
1 /** 1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store 2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium 4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017-2022 Osimis S.A., Belgium 5 * Copyright (C) 2017-2023 Osimis S.A., Belgium
6 * Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium 6 * Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
7 * 7 *
8 * This program is free software: you can redistribute it and/or 8 * This program is free software: you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as 9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, either version 3 of the 10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version. 11 * License, or (at your option) any later version.
49 49
50 virtual std::string FormatWildcardEscape() = 0; 50 virtual std::string FormatWildcardEscape() = 0;
51 51
52 /** 52 /**
53 * Whether to escape '[' and ']', which is only needed for 53 * Whether to escape '[' and ']', which is only needed for
54 * MSSQL. New in Orthanc 1.9.8, from the following changeset: 54 * MSSQL. New in Orthanc 1.10.0, from the following changeset:
55 * https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea 55 * https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea
56 **/ 56 **/
57 virtual bool IsEscapeBrackets() const = 0; 57 virtual bool IsEscapeBrackets() const = 0;
58 58
59 static void Apply(std::string& sql, 59 static void Apply(std::string& sql,