久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <i id='2cXpm'><tr id='2cXpm'><dt id='2cXpm'><q id='2cXpm'><span id='2cXpm'><b id='2cXpm'><form id='2cXpm'><ins id='2cXpm'></ins><ul id='2cXpm'></ul><sub id='2cXpm'></sub></form><legend id='2cXpm'></legend><bdo id='2cXpm'><pre id='2cXpm'><center id='2cXpm'></center></pre></bdo></b><th id='2cXpm'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2cXpm'><tfoot id='2cXpm'></tfoot><dl id='2cXpm'><fieldset id='2cXpm'></fieldset></dl></div>

  2. <legend id='2cXpm'><style id='2cXpm'><dir id='2cXpm'><q id='2cXpm'></q></dir></style></legend>
  3. <tfoot id='2cXpm'></tfoot>
      <bdo id='2cXpm'></bdo><ul id='2cXpm'></ul>
    1. <small id='2cXpm'></small><noframes id='2cXpm'>

      使用 Laravel 4 自動生成模型類(也就是使用帶有

      Autogenerate model classes with Laravel 4 (aka using an existing database with L4)(使用 Laravel 4 自動生成模型類(也就是使用帶有 L4 的現有數據庫))
        <tbody id='pGibS'></tbody>
    2. <legend id='pGibS'><style id='pGibS'><dir id='pGibS'><q id='pGibS'></q></dir></style></legend>
      <i id='pGibS'><tr id='pGibS'><dt id='pGibS'><q id='pGibS'><span id='pGibS'><b id='pGibS'><form id='pGibS'><ins id='pGibS'></ins><ul id='pGibS'></ul><sub id='pGibS'></sub></form><legend id='pGibS'></legend><bdo id='pGibS'><pre id='pGibS'><center id='pGibS'></center></pre></bdo></b><th id='pGibS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pGibS'><tfoot id='pGibS'></tfoot><dl id='pGibS'><fieldset id='pGibS'></fieldset></dl></div>
      1. <tfoot id='pGibS'></tfoot>
        • <bdo id='pGibS'></bdo><ul id='pGibS'></ul>
        • <small id='pGibS'></small><noframes id='pGibS'>

                本文介紹了使用 Laravel 4 自動生成模型類(也就是使用帶有 L4 的現有數據庫)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在 MySQL Workbench 中設計了我的數據庫,并設置了我所有的外鍵等

                I've designed my database in MySQL Workbench, and have all my foreign keys setup, etc.

                我想在 Laravel 4 中使用這個 DB 模式,但是從文檔中沒有任何文字可以使用現有的數據庫表集.根據我的理解,其他框架(例如 Cake 及其烘焙")允許您根據數據庫中已有的表自動生成模型類.

                I'm wanting to use this DB schema with Laravel 4, however from the docs there is no word of any sort of ability to work with an existing set of database tables. From my understanding, other frameworks such as Cake with its 'Baking' allow you to automatically generate your model classes based on the tables already in your database.

                我到處環顧四周,根本看不到 Laravel 4 的任何相關信息.我發現最接近的是 Jeffrey Way 的用于工匠的 Generator 包,但是這只創建了基本模型,并沒有檢測到已建立的模型外鍵關系.

                I've looked around everywhere and cant see anything about this at all for Laravel 4. The closest thing I've found is Jeffrey Way's Generator package for artisan, however this only creates the base model, and doesn't detect established foreign key relationships.

                這在 Laravel 4 中是可行的,還是我必須手動完成?

                Is this even possible with Laravel 4 or am I going to have to just do it all manually?

                推薦答案

                好消息是 Antonio 剛剛完成了他的 MySQL WorkBench 到 Eloquent ORM 轉換器這是一個很好的解決方案,但對我來說有點晚了,但可能對你有很大幫助.

                The good news is that Antonio just finished his MySQL WorkBench to Eloquent ORM converter This is a beautiful solution but comes a way to late for me but may help you a lot.

                更新:該鏈接目前無效.網頁上寫著我們正在重新設計東西,很快就會回來!".我已經給 antonio 發了一封電子郵件,詢問他什么時候可以再次提供這項服務.

                Update: The link isn't working in the moment. The wabpage says "We are redesigning things, will be back soon!". I allready sent antonio an email asking him, when this service will be available again.

                安東尼奧說它會回來,但沒有預計到達時間.我們必須等待..

                Antonio said that it'll be back but there is no estimated time of arrival. We have to wait..

                這篇關于使用 Laravel 4 自動生成模型類(也就是使用帶有 L4 的現有數據庫)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                PHP PDO ODBC connection(PHP PDO ODBC 連接)
                Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                <i id='JlQY5'><tr id='JlQY5'><dt id='JlQY5'><q id='JlQY5'><span id='JlQY5'><b id='JlQY5'><form id='JlQY5'><ins id='JlQY5'></ins><ul id='JlQY5'></ul><sub id='JlQY5'></sub></form><legend id='JlQY5'></legend><bdo id='JlQY5'><pre id='JlQY5'><center id='JlQY5'></center></pre></bdo></b><th id='JlQY5'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='JlQY5'><tfoot id='JlQY5'></tfoot><dl id='JlQY5'><fieldset id='JlQY5'></fieldset></dl></div>
                <legend id='JlQY5'><style id='JlQY5'><dir id='JlQY5'><q id='JlQY5'></q></dir></style></legend>
                • <small id='JlQY5'></small><noframes id='JlQY5'>

                      <tbody id='JlQY5'></tbody>

                      <bdo id='JlQY5'></bdo><ul id='JlQY5'></ul>
                      <tfoot id='JlQY5'></tfoot>

                        1. 主站蜘蛛池模板: 国产精品综合色区在线观看 | 欧美激情综合色综合啪啪五月 | 欧美一区两区 | 国产免费高清 | 天天干人人 | 在线播放日韩 | 狠狠久久久| 日韩激情在线 | 国产欧美精品一区二区三区 | 国产不卡视频在线 | 国产精品一区二区不卡 | 久久久国产精品 | 欧美精品久久 | 国产羞羞视频在线观看 | 在线不卡av | 亚洲国产aⅴ成人精品无吗 欧美激情欧美激情在线五月 | 亚洲欧洲日韩精品 中文字幕 | 欧美男人亚洲天堂 | 成人做爰www免费看视频网站 | 日韩综合网| 国产精品久久久久久久久久久久久久 | 日韩精品成人 | 久久99精品国产 | 二区av| 亚洲三级国产 | 久久久久免费精品国产小说色大师 | 国产日韩欧美在线观看 | 亚洲综合网站 | 亚洲网站在线观看 | 在线观看中文字幕亚洲 | 91玖玖| 久久精品成人 | 久久国产综合 | 久久香蕉网 | 国产精品一卡二卡三卡 | 国产麻豆一区二区三区 | 在线看91| 欧美一级黄色片在线观看 | 国产成年人小视频 | 中文字幕在线观看一区 | 亚洲成人一区二区三区 |