Phalcon-MongoDB-ODM
Phalcon-MongoDB-ODM copied to clipboard
_id is not always ObjectId()
In some cases _id
can be just a string. But in methods findById
and others hardcoded ObjectId($id)
is used. So when I try to find by String
, the response is empty.