diff options
Diffstat (limited to 'app/Models/EntryDAOPGSQL.php')
| -rw-r--r-- | app/Models/EntryDAOPGSQL.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Models/EntryDAOPGSQL.php b/app/Models/EntryDAOPGSQL.php index 72bdd7f3e..6211b9a6b 100644 --- a/app/Models/EntryDAOPGSQL.php +++ b/app/Models/EntryDAOPGSQL.php @@ -30,6 +30,11 @@ class FreshRSS_EntryDAOPGSQL extends FreshRSS_EntryDAOSQLite { } #[\Override] + public static function sqlGreatest(string $a, string $b): string { + return 'GREATEST(' . $a . ', ' . $b . ')'; + } + + #[\Override] public static function sqlRandom(): string { return 'RANDOM()'; } |
