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

<legend id='oIlR1'><style id='oIlR1'><dir id='oIlR1'><q id='oIlR1'></q></dir></style></legend>
    • <bdo id='oIlR1'></bdo><ul id='oIlR1'></ul>
  • <small id='oIlR1'></small><noframes id='oIlR1'>

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

      1. 如何調試 MySQL/Doctrine2 查詢?

        How to debug MySQL/Doctrine2 Queries?(如何調試 MySQL/Doctrine2 查詢?)
          • <bdo id='EVq6l'></bdo><ul id='EVq6l'></ul>

            <small id='EVq6l'></small><noframes id='EVq6l'>

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

                    <tbody id='EVq6l'></tbody>
                • <legend id='EVq6l'><style id='EVq6l'><dir id='EVq6l'><q id='EVq6l'></q></dir></style></legend>
                  本文介紹了如何調試 MySQL/Doctrine2 查詢?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 MySQL 和 Zend Framework &Doctrine 2.我想即使你不使用Doctrine 2,你也會熟悉像

                  I am using MySQL with Zend Framework & Doctrine 2. I think even if you don't use Doctrine 2, you will be familiar with errors like

                  SQLSTATE[42000]:語法錯誤或訪問沖突:1064 你的 SQL 語法有錯誤;檢查與您的 MySQL 服務器版本相對應的手冊,以獲取在第 1 行的ASC"附近使用的正確語法

                  問題是我沒有看到完整的查詢.如果沒有 ORM 框架,我可能很容易回顯 sql,但是有了框架,我怎么能找出它試圖執行的 SQL?我將錯誤縮小到

                  The problem is that I don't see the full query. Without an ORM framework, I could probably echo the sql easily, but with a framework, how can I find out what SQL its trying to execute? I narrowed the error down to

                  $progress = $task->getProgress();
                  

                  $progress 已聲明

                  // ApplicationModelsTask
                  /**
                   * @OneToMany(targetEntity="TaskProgress", mappedBy="task")
                   * @OrderBy({"seq" = "ASC"})
                   */
                  protected $progress;
                  

                  在 MySQL 中,任務類看起來像

                  In MySQL, the task class looks like

                  CREATE TABLE `tasks` (
                    `id` int(11) NOT NULL AUTO_INCREMENT,
                    `owner_id` int(11) DEFAULT NULL,
                    `assigned_id` int(11) DEFAULT NULL,
                    `list_id` int(11) DEFAULT NULL,
                    `name` varchar(60) NOT NULL,
                    `seq` int(11) DEFAULT NULL,
                    PRIMARY KEY (`id`),
                    KEY `tasks_owner_id_idx` (`owner_id`),
                    KEY `tasks_assigned_id_idx` (`assigned_id`),
                    KEY `tasks_list_id_idx` (`list_id`),
                    CONSTRAINT `tasks_ibfk_1` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`),
                    CONSTRAINT `tasks_ibfk_2` FOREIGN KEY (`assigned_id`) REFERENCES `users` (`id`),
                    CONSTRAINT `tasks_ibfk_3` FOREIGN KEY (`list_id`) REFERENCES `lists` (`id`)
                  ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1$$
                  

                  推薦答案

                  如何使用 mysql 一般查詢日志?

                  一般查詢日志是對mysqld正在做什么的一般記錄.當客戶端連接或斷開連接時,服務器將信息寫入此日志,并記錄從客戶端收到的每個 SQL 語句.當您懷疑客戶端有錯誤并想確切知道客戶端發送給 mysqld 的內容時,通用查詢日志會非常有用.

                  The general query log is a general record of what mysqld is doing. The server writes information to this log when clients connect or disconnect, and it logs each SQL statement received from clients. The general query log can be very useful when you suspect an error in a client and want to know exactly what the client sent to mysqld.

                  這篇關于如何調試 MySQL/Doctrine2 查詢?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 找不到驅動程序)

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

                  <small id='gKuBM'></small><noframes id='gKuBM'>

                    • <bdo id='gKuBM'></bdo><ul id='gKuBM'></ul>

                      1. <tfoot id='gKuBM'></tfoot>

                            主站蜘蛛池模板: 欧美黑人体内she精在线观看 | 欧美日韩国产一区二区三区 | 国产在线精品一区二区三区 | 亚洲欧美国产毛片在线 | 韩国成人在线视频 | 91小视频在线 | 亚洲一区二区三区在线视频 | 中文字幕在线观看视频一区 | 国产精品视频网 | 久久一起草 | 久久国内精品 | 久久久久国产精品午夜一区 | 久久久久久成人 | 天天插天天舔 | 欧美久久精品一级黑人c片 91免费在线视频 | 精品欧美一区二区三区久久久 | 亚洲精品区 | 国产精品视频一区二区三区不卡 | av在线播放国产 | 色婷婷一区二区三区四区 | 91精品国产91久久久久久密臀 | 岛国毛片 | 午夜资源 | 天天成人综合网 | 日韩在线观看网站 | 99riav国产一区二区三区 | 午夜激情视频 | 久久久tv| 亚洲精品视频一区二区三区 | 韩日精品在线观看 | 奇米在线 | 99视频久 | 国产精品揄拍一区二区 | 最新毛片网站 | 久久五月婷 | 成人精品一区二区三区中文字幕 | 国产女人精品视频 | 精品一区二区三区在线视频 | 精品国产乱码一区二区三 | 久久免费视频观看 | 麻豆国产一区二区三区四区 |