How to do references with mongodb odm?

0 votes
asked Sep 14, 2021 in How To & Manuals by tonij (120 points)

I'm new to skipper but i managed to work with ORM with success; but now i need to design ODM entities in mongodb and i can't figure out how to make the references between entity fields as shown here:
https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/2.2/reference/reference-mapping.html

thanks!

1 Answer

0 votes
answered Sep 14, 2021 by ludek.vodicka Skipper developer (140,450 points)

I'm not sure where can be a problem. Just create association between two entities and fill aliases for directions you want to have generated.

...