Doctrine2 Ignore table of database

前端 未结 3 1302
谎友^
谎友^ 2021-02-07 19:54

I\'m using Doctrine 2 and I want to generate an ORM of my database but I don\'t want select all tables of the db.

For example, in this db :

  • Table 1 has
3条回答
  •  攒了一身酷
    2021-02-07 20:21

    Doctrine first validates your tables and only then executes the command. So you should always have valid DB schema in order to make any operations with it.

提交回复
热议问题