fixed typo for sqlite extraction
This commit is contained in:
parent
68acd8a849
commit
058666836f
@ -5,7 +5,7 @@ class SYS_LOG_OLDEST extends \SYSTEM\DB\QQ {
|
||||
public static function pqsql(){return
|
||||
'SELECT EXTRACT(MONTH FROM time)::INTEGER as month, EXTRACT(YEAR FROM time)::INTEGER as year FROM '.\SYSTEM\DBD\system_log::NAME_PG.' ORDER BY time ASC LIMIT 1';
|
||||
}
|
||||
public static function msql(){return
|
||||
public static function mysql(){return
|
||||
'SELECT MONTH(time) as month, YEAR(time) as year FROM '.\SYSTEM\DBD\system_log::NAME_MYS.' ORDER BY time ASC LIMIT 1';
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user