Stats
This commit is contained in:
parent
b3fc783098
commit
bdca46d286
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ class Application {
|
||||||
// $em_config->setQueryCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
// $em_config->setQueryCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
||||||
// $em_config->setResultCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
// $em_config->setResultCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
||||||
// $em_config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
// $em_config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
|
||||||
|
$em_config->setCustomDatetimeFunctions([
|
||||||
|
'DATE' => 'DoctrineExtensions\Query\Mysql\Date',
|
||||||
|
]);
|
||||||
$em_config->setCustomNumericFunctions(array(
|
$em_config->setCustomNumericFunctions(array(
|
||||||
'ACOS' => 'DoctrineExtensions\Query\Mysql\Acos',
|
'ACOS' => 'DoctrineExtensions\Query\Mysql\Acos',
|
||||||
'ASIN' => 'DoctrineExtensions\Query\Mysql\Asin',
|
'ASIN' => 'DoctrineExtensions\Query\Mysql\Asin',
|
||||||
|
|
Loading…
Reference in a new issue