doctrine2 - Generating joins from tables in entities in Zend Framework 2 + Doctrine 2 -


using following command can generate classes tables:

./vendor/doctrine/doctrine-module/bin/doctrine-module orm:convert-mapping --namespace="application\\entity\\" --force --from-database annotation ./module/application/src 

using command, can generate getters/setters:

./vendor/doctrine/doctrine-module//bin/doctrine-module orm:generate-entities ./module/application/src/ --generate-annotations=true 

is possible generate joins based on foreign keys setup in database?

thanks.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -