Right, I had a tab at this line. Thanks !
Ok for the DQL functions, I don't want to upgrade my PR6, so I'll wait the
first RC :)
--
Christophe Beyer
cbe...@cap-tic.fr
Le 8 avr. 2011 à 18:21, Christophe COEVOET a écrit :
> Le 08/04/2011 18:03, Christophe Beyer a écrit :
>>
>> Ok thanks,
Le 08/04/2011 18:03, Christophe Beyer a écrit :
Ok thanks, but I'm using the PR6, and with the following syntax
(without the dql instructions) :
doctrine.orm:
entity_managers:
default:
mappings:
YamlBundle: ~
I've got this error :
*Fatal error*: Uncaught exce
Ok thanks, but I'm using the PR6, and with the following syntax (without the
dql instructions) :
doctrine.orm:
entity_managers:
default:
mappings:
YamlBundle: ~
I've got this error :
Fatal error: Uncaught exception 'Symfony\Component\Yaml\ParserException' with
Le 05/04/2011 15:03, Christophe Beyer a écrit :
I want to use the Doctrine function addCustomDatetimeFunction on my
EntityManager.
I tried this :
$config = new \Doctrine\ORM\Configuration();
$config->addCustomDatetimeFunction('MONTH',
'Doctrine\ORM\Query\AST\Functions\Month'); // My custom fu