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

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

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

          <bdo id='zF6ho'></bdo><ul id='zF6ho'></ul>

        如何訪問默認的 Rails sqlite 數(shù)據(jù)庫?

        How to access default Rails sqlite db?(如何訪問默認的 Rails sqlite 數(shù)據(jù)庫?)
        <tfoot id='BcmeQ'></tfoot>

          1. <legend id='BcmeQ'><style id='BcmeQ'><dir id='BcmeQ'><q id='BcmeQ'></q></dir></style></legend>
              <bdo id='BcmeQ'></bdo><ul id='BcmeQ'></ul>

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

                • <i id='BcmeQ'><tr id='BcmeQ'><dt id='BcmeQ'><q id='BcmeQ'><span id='BcmeQ'><b id='BcmeQ'><form id='BcmeQ'><ins id='BcmeQ'></ins><ul id='BcmeQ'></ul><sub id='BcmeQ'></sub></form><legend id='BcmeQ'></legend><bdo id='BcmeQ'><pre id='BcmeQ'><center id='BcmeQ'></center></pre></bdo></b><th id='BcmeQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='BcmeQ'><tfoot id='BcmeQ'></tfoot><dl id='BcmeQ'><fieldset id='BcmeQ'></fieldset></dl></div>
                    <tbody id='BcmeQ'></tbody>
                  本文介紹了如何訪問默認的 Rails sqlite 數(shù)據(jù)庫?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我想在使用 Rails 進行開發(fā)時查看我的數(shù)據(jù)庫中的數(shù)據(jù)(實際上在所有 3 個開發(fā)、測試和生產(chǎn)中).我沒有接觸過配置,所以應該很容易,但我找不到任何可用的信息.

                  I would like to view the data in my DB while developing with Rails (actually in all 3 of them development, test and production). I have not touched the configs, so it should be easy, but I was not able to find any usable info.

                  我不知道連接字符串可能是什么或在哪里輸入它,因為 Aptana (v.3) 似乎缺乏我從 Eclipse 知道的舊數(shù)據(jù)源瀏覽器視圖.有人能指出我正確的方向嗎?

                  I have no idea what the connection string could be or where to enter it, since Aptana (v.3) seems to lack the good old data source explorer view I know from Eclipse. Could someone point me into the right direction?

                  我正在使用 linux - Mint 12

                  I am working on linux - Mint 12

                  推薦答案

                  您忽略了您正在使用的操作系統(tǒng).

                  You have neglected to mention the OS you are using.

                  一種方法是在終端中使用 sqlite3 命令.

                  One way is to use the sqlite3 command in your terminal.

                  sqlite3 db/development.sqlite3
                  

                  但是,對于檢查行之類的事情,最好使用 rails 控制臺.

                  However, for things like inspecting your rows, you would be better using a rails console.

                  rails c
                  > User.all # Where user is your model.
                  

                  注意:不要直接通過 sqlite3 更改您的數(shù)據(jù)庫架構,如果您來自不同的網(wǎng)絡堆棧背景,您可能已經(jīng)習慣了這一點.這是因為下次運行遷移時,狀態(tài)將與 Rails 預期的不同.

                  NOTE: Do not change your DB schema directly through sqlite3, something you may be used to if you come from a different web stack background. This is because the next time you run the migrations, the state will be different to what rails expects.

                  這篇關于如何訪問默認的 Rails sqlite 數(shù)據(jù)庫?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關文檔推薦

                  Saving external JSON to DB with Rails(使用 Rails 將外部 JSON 保存到 DB)
                  Error installing mysql2: Failed to build gem native extension(安裝 mysql2 時出錯:無法構建 gem 本機擴展)
                  Library not loaded: libmysqlclient.16.dylib error when trying to run #39;rails server#39; on OS X 10.6 with mysql2 gem(庫未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運行“rails server時出現(xiàn) libmysqlclient.16.dylib 錯誤) - IT屋
                  Import the data from the XML files into a MySQL database(將數(shù)據(jù)從 XML 文件導入 MySQL 數(shù)據(jù)庫)
                  Use specific mysql index with rails(在 Rails 中使用特定的 mysql 索引)
                  Ordering by String that starts with Number - ActiveRecord(按以數(shù)字開頭的字符串排序 - ActiveRecord)
                • <tfoot id='2RLPU'></tfoot>

                      <small id='2RLPU'></small><noframes id='2RLPU'>

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

                          <tbody id='2RLPU'></tbody>

                        <legend id='2RLPU'><style id='2RLPU'><dir id='2RLPU'><q id='2RLPU'></q></dir></style></legend>

                          <bdo id='2RLPU'></bdo><ul id='2RLPU'></ul>
                          1. 主站蜘蛛池模板: 中国免费黄色片 | 国产精品99久久免费观看 | 国产精品视频在线观看 | 久久大全| 久久av一区二区 | 欧美精品一区在线 | 日韩在线中文字幕 | 日韩综合在线 | 精国产品一区二区三区四季综 | 久久久精彩视频 | 欧美日韩在线一区二区 | 夜夜夜久久 | 久久aⅴ乱码一区二区三区 91综合网 | 日韩精品一区在线 | 在线观看三级av | 9999久久| 国产精产国品一二三产区视频 | 亚洲国产精品激情在线观看 | 91精品国产91久久综合桃花 | 91在线电影| 欧美一区二区 | 草b视频| 欧美一区日韩一区 | 一区二区三区欧美在线观看 | 日韩欧美一级精品久久 | 羞羞视频网站在线观看 | 亚洲综合在线播放 | 日本又色又爽又黄又高潮 | 狠狠干狠狠插 | 欧美美乳| 精品国产乱码久久久久久牛牛 | 成人午夜影院 | 亚洲精品久久嫩草网站秘色 | 日本视频一区二区三区 | 91高清视频 | 一区二区三区在线免费观看视频 | 精品一区二区在线观看 | 成人免费视频 | 黄色av免费网站 | 国产精品永久久久久 | 日韩一区在线播放 |