久久久久久久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>

                            主站蜘蛛池模板: 黄色在线免费观看视频 | 国产美女自拍视频 | 成人免费观看视频 | 午夜精品久久久久久久99黑人 | 一区二区三区久久久 | 亚洲天堂中文字幕 | 欧美a在线 | 国产精品无码永久免费888 | 欧美日韩在线播放 | 精品欧美乱码久久久久久1区2区 | 亚洲一区二区三区视频 | 成人免费久久 | 久久草视频 | 亚洲不卡在线观看 | 亚洲欧美一区在线 | 成人网av | 先锋影音资源网站 | 久草热8精品视频在线观看 午夜伦4480yy私人影院 | 情侣酒店偷拍一区二区在线播放 | 免费观看a级毛片在线播放 黄网站免费入口 | 中文字幕日韩欧美一区二区三区 | 男女啪啪网址 | 天天躁日日躁狠狠的躁天龙影院 | 欧美成年网站 | 欧美一级片在线观看 | 欧美一区二区三区在线观看 | 一级片免费在线观看 | www国产成人免费观看视频,深夜成人网 | 久久国产三级 | 欧美黄色片 | 91社区视频 | 亚洲综合在线一区 | 一区二区三区亚洲 | 九一在线观看 | 欧美一区二区三区的 | 日韩性生活网 | 嫩草视频在线 | 日韩成人在线观看 | 久草视频观看 | 国产原创视频 | 久久伊人精品一区二区三区 |