Moon
Moon

Reputation: 22565

doctrine - generate model from db, but only a specified table?

is it possible to generate models from db, but only specified tables in doctrine?

I can't locate a method in Doctrine_Core class for this.

Thanks.

Upvotes: 0

Views: 1452

Answers (1)

takeshin
takeshin

Reputation: 50638

From the command line should work:

doctrine-cli generate-models-yaml path/to.yml

Look into the Doctrine_Cli class, it should have specified method.

Upvotes: 1

Related Questions