fix pgsql support

master
Jean-Christian Paul Denis 2023-08-15 20:03:33 +02:00
parent b2b003a125
commit d37c179661
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 14 additions and 11 deletions

View File

@ -70,17 +70,20 @@ class Utils
} }
$sql = new SelectStatement(); $sql = new SelectStatement();
$sql->columns([
'option_id', if (!$count_only) {
'option_creadt', $sql->columns([
'option_upddt', 'option_id',
'option_type', 'option_creadt',
'option_format', 'option_upddt',
'option_lang', 'option_type',
'option_title', 'option_format',
'option_content', 'option_lang',
'option_content_xhtml', 'option_title',
]); 'option_content',
'option_content_xhtml',
]);
}
$sql->join( $sql->join(
(new JoinStatement()) (new JoinStatement())