diff options
Diffstat (limited to 'app/Models/EntryDAOSQLite.php')
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index 8bf0e2209..c272272b0 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -35,6 +35,11 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO { } #[\Override] + public static function sqlGreatest(string $a, string $b): string { + return 'MAX(' . $a . ', ' . $b . ')'; + } + + #[\Override] public static function sqlRandom(): string { return 'RANDOM()'; } |
