1) I'm not a MongoDB expert too, but from my knowledge you see collections like a table for sql databases. You have to specify its name somewhere, but by default Doctrine ODM use the document name as collection name. So it may be conflicting when you have the same name for document classes but want to store them on different collections.
For instance \Acme\DemoBundle\Document\Log
into acme_demo_log
and \Acme\Demo2Bundle\Document\Log
into acme_demo2_log
.
What I really miss is a simple text property like the table
property on ORM, where I could put the collection name for this document.
2) I guess it was kinda difficult... Maybe that when typing delete on an empty hinted input it could react like when typing \
. Something like in the following scenario :
[\Acme\DemoBundle\Document\]|
<delete>
\|
<delete>
[\Acme\DemoBundle\Document\]|
I hope it may give you some inspiration... :)