I have a hard time navigating through Doctrine\'s Documentation for the DBAL. I would like to know what string values I can put in the $type value of this:
When you want to insert an Entity you do this: $user = new User(); $user->setEmail(\'john@doe.com\');
Using Doctrine 2. I have an entity called \'size\' and I\'m trying to form some DQL (using the QueryBuilder) to pull these entities from the database.
In my schema I have a number of field that need to be BIGINT. I u开发者_StackOverflowse the following command from Symfony
I\'m currently working on a project with Zend Framework & Doctrine 2, I\'m really happy with both of those tools, but I\'m wondering on how work with this special User object, which shares databas
Let\'s say I want to do a bulk User update in my UsersController. In my UsersController I do: foreach ($users as $user) {
Schema and table name in Postgres are case sensitive. How can I specify correct schema in docblock annotations so they are not converted to lowercase?
Im unable to access a custom repository from a controller in doctrine 2.0 and Zend framework? I have my file structure as following:-
When trying to run a simple command $msg = $this->_em->find(\"Entities\\Message\", 1); in my IndexController I get the following errors:
I\'m trying to use the MySQL FIELD function in an order by clause in a query. I\'m 开发者_如何学编程assuming that Doctrine 2 doesn\'t support the FIELD function out of the box - is that true? If so, h