Dump database data using Doctrine 2

后端 未结 6 2174
萌比男神i
萌比男神i 2021-01-01 21:50

Is it possible to dump a database using doctrine 2? I have read that symfony has a library which extends doctrine to do it but How could I use it in my zendframework project

6条回答
  •  情书的邮戳
    2021-01-01 22:36

    Doctrine has no database-dump feature. I agree it would be nice, but it's also not the ORM's goal.

    You could dump the database using

    • a PHP script
    • a system mysqldump
    • phpMyAdmin

    Here's an article explaining those solutions.

提交回复
热议问题