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
Post a Comment