本文介紹了使用 Doctrine 2 轉儲數據庫數據的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
是否可以使用學說 2 轉儲數據庫?我已經讀到 symfony 有一個庫,它擴展了學說來做到這一點,但我如何在我的 zendframework 項目中使用它與 Bisna Doctrine 2 集成?
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 with Bisna Doctrine 2 Integration?
推薦答案
Doctrine 沒有數據庫轉儲功能.我同意這會很好,但這也不是 ORM 的目標.
Doctrine has no database-dump feature. I agree it would be nice, but it's also not the ORM's goal.
您可以使用
- 一個 PHP 腳本
- 一個系統mysqldump
- phpMyAdmin
這里是 an解釋這些解決方案的文章.
這篇關于使用 Doctrine 2 轉儲數據庫數據的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!