HI all I would like to use an ODM (surely mongoDB) database and would like some things to be clarified.
Firstly, Is the doc page is up to date to develop ODM collections with php7 (with the mongo class deletion) ? I saw somewhere I'll need to include the incubator, is it still true, or the new class from incubator are now in phalcon ?
I have some questions about the "Model" too. I worked for a while with zend framework 2 and Doctrine ODM.
Is there anything equivalent to the doctrine annotation ? (to specify the field type, the filed name if needed, the relationship, if the field is an EmbedDocument, etc.)
How are managed relationships between collections ? (didn't see anything about this in the ODM doc page)
How are managed EmbedCollection ?
For the default "_id" field, do I have to name a field $_id in my collection PHP class to access it ?
I think I saw that the id field is included in MongoCollection Class but I would like a confirmation.
Thanks in advance for the answer.