diff Framework/Plugins/IndexBackend.cpp @ 583:ae7375d38607 find-refactoring tip

MySQL: fix ordering
author Alain Mazy <am@orthanc.team>
date Mon, 21 Oct 2024 18:19:51 +0200
parents 8296c6a0238e
children
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Mon Oct 21 17:57:52 2024 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Mon Oct 21 18:19:51 2024 +0200
@@ -2266,6 +2266,11 @@
       return (dialect_ == Dialect_MSSQL);
     }
 
+    virtual bool SupportsNullsLast() const
+    {
+      return (dialect_ == Dialect_PostgreSQL);
+    }
+
     void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const
     {
       statement.SetReadOnly(true);