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

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

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

    • <bdo id='nxCAH'></bdo><ul id='nxCAH'></ul>
    <tfoot id='nxCAH'></tfoot>

      <legend id='nxCAH'><style id='nxCAH'><dir id='nxCAH'><q id='nxCAH'></q></dir></style></legend>

      1. sqlite &amp;flex - 如果不存在則插入?

        sqlite amp; flex - insert into if not exists?(sqlite amp;flex - 如果不存在則插入?)

          • <small id='83vKE'></small><noframes id='83vKE'>

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

                <tbody id='83vKE'></tbody>

                • <bdo id='83vKE'></bdo><ul id='83vKE'></ul>
                  <legend id='83vKE'><style id='83vKE'><dir id='83vKE'><q id='83vKE'></q></dir></style></legend>
                • 本文介紹了sqlite &amp;flex - 如果不存在則插入?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 flex 開發我的第一個桌面應用程序,并且我也是第一次使用 sqlite.

                  I'm using flex to develop my first desktop app and I'm working with sqlite for the first time as well.

                  我正在創建我的數據庫和所有表,我還想將幾行數據添加到幾個表中,以便用戶在首次安裝時可以使用一些數據.

                  I'm creating my database and all the tables and I would also like to add a few rows of data into a couple of the tables so that the users have some data to work with on first install.

                  我遇到的唯一問題是每次運行程序時它都會一遍又一遍地插入相同的數據.

                  The only problem I'm having is every time I run the program it keeps inserting the same data over and over again.

                  我只是想知道是否可以執行 - INSERT INTO IF NOT EXISTS.或其他類型的工作.

                  I'm just wondering if its possible to do a - INSERT INTO IF NOT EXISTS. or some other kind of work around.

                  謝謝!

                  推薦答案

                  感謝您的洞察力,但我仍然沒有任何運氣.

                  Thanks for the insight but I'm still not having any luck.

                  這是我的代碼

                  stmt.text = "CREATE TABLE IF NOT EXISTS tbl_breed ("+" breed_id INTEGER PRIMARY KEY AUTOINCREMENT, "+"  breed_breed TEXT)";
                  stmt.execute();
                  stmt.text = "INSERT OR IGNORE INTO tbl_breed (breed_breed)"+" VALUES ('Test')";
                  stmt.execute();
                  

                  好的,我解決了這個問題 - 我猜你必須對主鍵進行硬編碼,這就是我所做的

                  Ok so I fixed the problem - I guess you have to hard code primary key here's what i did

                  stmt.text = "CREATE TABLE IF NOT EXISTS tbl_breed ("+" breed_id INTEGER PRIMARY KEY AUTOINCREMENT, "+"  breed_breed TEXT)";
                  stmt.execute();
                  stmt.text = "INSERT OR IGNORE INTO tbl_breed (breed_id,breed_breed)"+" VALUES ('1','test')";
                  stmt.execute();
                  

                  這篇關于sqlite &amp;flex - 如果不存在則插入?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Connect to SQLite in Apache Spark(在 Apache Spark 中連接到 SQLite)
                  NIFI - QueryDatabaseTable processor. How to query rows which is modified?(NIFI - QueryDatabaseTable 處理器.如何查詢被修改的行?)
                  Kafka JDBC source connector time stamp mode failing for sqlite3(Kafka JDBC 源連接器時間戳模式對 sqlite3 失敗)
                  Adobe Air: why SQLStatement#39;s getResult().data is null?(Adobe Air:為什么 SQLStatement 的 getResult().data 為空?)
                  SQLite and Flex(SQLite 和 Flex)
                  Adobe Air: convert sqlite#39;s result [object Object] to String?(Adobe Air:將 sqlite 的結果 [object Object] 轉換為 String?)

                  1. <small id='VTk6g'></small><noframes id='VTk6g'>

                      <tbody id='VTk6g'></tbody>
                        • <bdo id='VTk6g'></bdo><ul id='VTk6g'></ul>

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

                            主站蜘蛛池模板: www.日韩免费 | 成人在线视频网 | 伦理一区二区 | 国产午夜精品久久久 | 国产精品中文字幕在线 | 九九色综合 | 久久一久久 | 911精品美国片911久久久 | a在线观看 | 99精品视频免费观看 | 色综合99| 国产精品永久免费视频 | 国产精品自产拍 | 亚洲97| 在线小视频 | 精品三区 | 97精品国产97久久久久久免费 | 亚洲国产精品va在线看黑人 | 99这里只有精品视频 | 欧美www在线| 国产农村妇女毛片精品久久麻豆 | 97伦理电影 | 欧美成人激情 | 三级黄片毛片 | 黄色永久免费 | 日韩免费毛片 | 久久久久国产精品一区二区 | 一区在线观看 | 91av免费版 | 天天做日日做 | 亚洲视频第一页 | 一级做a爰片性色毛片视频停止 | 欧美网站一区 | 国产一区二区三区网站 | 久久在线精品 | 日韩午夜在线播放 | 国产久| 久久久高清 | 久久av一区二区三区 | 羞羞视频免费观看入口 | 欧美日韩电影免费观看 |