We use doctrine 2 and want to write parameterised code like this: to have a query like this: The "color" is the custom (user chosen) name of an ...
We use doctrine 2 and want to write parameterised code like this: to have a query like this: The "color" is the custom (user chosen) name of an ...
I am trying to set a default value for an UUID type field However this sets executes ALTER TABLE store ALTER uuid SET DEFAULT 'uuid_generate_v4()' ...
I have postgreSQL table with city list (>1M) and I need to search over this table by pattern like 'abc%'. I created B-tree index on city.name colum ...
How to use Postgres date_trunc(text, timestamp) function with Doctrine 2 in Symfony? ...
I want to use the query_builder in a Symfony2 FormType, I tried to make a simple request in my Postgresql shema using Doctrine DQL. It return me an er ...
I'm building a function for filter some records based on four parameters: $codigo, $anno, $term and $comite_tecnico. This is what I build until now: ...
I have 3 entities . "Ejuridique" has 1 relation "onetomany" with . "Project" has 1 relation "onetomany" with . "Photo" When I do 1 query on "Eju ...
When updating schema, doctrine always drops and add constraints. I think, it is something wrong... How can this may be fixed? ...
I'm guessing this is a Doctrine bug (and I've submitted an issue on JIRA issue tracker), but in case it's just user error I decided to post it here. ...
I'm trying to use Doctrine DBAL in my project; my database is Postgresql. This is a simple use case and I really do not know why is this not working. ...
im getting this error while trying to insert an entity in symfony2 with doctrine2, I`ve check my database to check any typo erros but everything is ...