doctrine-odm Questions

1

Solved

How can I remove multiple documents in doctrine mongodb odm? In PHP class I should be able to do it using the following code: $db->collection->remove(array("age" => 18)); How can I do ...
Basile asked 2/7, 2012 at 20:1

1

Solved

I'm new to Doctrine, mongo and the ODM setup and while playing with this setup in ZF1 I'm trying to replicate a simple one to many reference with a constraint. Here is the situation and would like ...
Somatoplasm asked 26/4, 2012 at 18:35

2

Solved

I would like to write a query in Doctrine Mongo ODM that searches by regex in two or more fields. In SQL it would look like: SELECT * FROM user WHERE name LIKE %search% OR surname LIKE %search%; ...
Health asked 9/1, 2012 at 15:58

1

Solved

how would i go about simulating the like operator from SQL in doctrine odm? use case: i want to find a Theme that has somewhere in the field caption string in a variable $search. How would the qu...
Seismology asked 21/12, 2011 at 12:2

1

Update: Pretty certain this a bug, made an issue on Jira: http://bit.ly/gpstW9 Update (5th May 2011): Upon jwage's recommendation I have switch to Referenced relationships between Categories and Po...
Sepulture asked 14/4, 2011 at 3:55

© 2022 - 2024 — McMap. All rights reserved.