Symfony2, Doctrine2, MySql, view tables

前端 未结 2 1106
轮回少年
轮回少年 2021-01-20 12:01

Simple question, is there support for view-tables in doctrine2? I found that it can \'read\' current schema http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest

2条回答
  •  无人共我
    2021-01-20 12:29

    if you want to define views in mappers I think you can't do this If you want simply use views to read data from them I think you can do it. Simply define views fields in mapper as for general tables

提交回复
热议问题