Open stephpy opened 11 years ago
Doctrine MongoDB ODM doesn't have composite primary keys, or am I wrong?
Yes, but you could refer to an other stored entities:
Storing TimelineBundle with driver ODM but having user via ORM with composite keys. If you cannot store an array of keys on Component table, on mongo you'll not be able to identify User.
Components can be stocked in any type of storage.
I got your point. I totally forget about storage combinations...
We should repeat the behavior for hash
field type in ORM. It's a string field type which is serialized/unserialized.
It could be added on Document/Component.php identifier setter/getter.
Look at #96