- Heavy rework on search request handling of entities
This commit is contained in:
1 parent
a9b9c2cce9
commit
11e436236c
8 files changed
+290
-167
No files matched your search
@@ -196,9 +196,9 @@ class SQLite implements AdapterInterface, MigrateInterface, SqlAdapterInterface
|
||||
$pdo->sqliteCreateFunction('day', fn($date) => ( new \DateTime($date) )->format('j'), 1);
|
||||
$pdo->sqliteCreateFunction('month', fn($date) => ( new \DateTime($date) )->format('n'), 1);
|
||||
$pdo->sqliteCreateFunction('year', fn($date) => ( new \DateTime($date) )->format('Y'), 1);
|
||||
$pdo->sqliteCreateFunction('str_to_date', fn($value, $format) => ($f = \DateTime::createFromFormat($format, $value)) ? $f->format('Y-m-d H:i:s') : false);
|
||||
}
|
||||
|
||||
|
||||
public function exportCollations(PdoObject $pdo) : void
|
||||
{
|
||||
|
||||
|
||||
Reference in new issue
Block a user