You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// "$nor performs a logical NOR operation on an array of **ONE** or more query expression"// https://docs.mongodb.com/manual/reference/operator/query/nor/$qb->addNor($qb->expr()->field('field_name')->references($document));
Hello everyone,
In my application, I have a reference (One) between 2 entities:
When I want to retrieve all the references, no problem:
In both cases, the query is the same:
Now, I want to get all the documents that do not have the reference !
When i try this :
I get the following error: "Catchable Fatal Error: Object of class MongoDBODMProxies_CG_\App\Document\Customer could not be converted to string"
If i try this:
I get the following query:
How to launch such a query?
The text was updated successfully, but these errors were encountered: