久久久久久久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. 主站蜘蛛池模板: 国产成人精品亚洲日本在线观看 | 国产成人精品一区二区三区视频 | 最新国产精品精品视频 | gav成人免费播放视频 | 噜久寡妇噜噜久久寡妇 | 欧美成年网站 | 日韩免费视频一区二区 | 91xxx在线观看 | 国产第一页在线播放 | 成人在线观看免费爱爱 | 国产色99| 婷婷综合在线 | 久久在线看 | 亚洲午夜电影 | 99久久久无码国产精品 | 亚洲国产精品一区二区久久 | 国产高清在线精品一区二区三区 | 欧美日韩国产一区二区三区 | 精品美女久久久 | 亚洲精品自在在线观看 | 小视频你懂得 | 中文字幕国产一区 | 精品久久精品 | 91免费视频 | 亚洲在线一区二区三区 | 日韩国产中文字幕 | 国产成人一区二区三区 | 91久久国产综合久久 | 亚洲精品久久久久avwww潮水 | 免费欧美 | 91av免费看 | 日韩欧美在线视频一区 | 国产永久免费 | 成人高清在线视频 | 中文字幕1区2区3区 亚洲国产成人精品女人久久久 | 国产成人精品999在线观看 | 免费视频一区二区 | 99久久久久国产精品免费 | 亚洲成人毛片 | 9191av | 成人精品一区二区三区中文字幕 |