<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          RDDB面向文檔的數(shù)據(jù)庫

          聯(lián)合創(chuàng)作 · 2023-10-01 00:56

          RDDB 是一個 Ruby 開發(fā)的面向文檔的數(shù)據(jù)庫系統(tǒng),其靈感來自 CouchDB

          示例代碼:

            # First create an database object
            database = Rddb::Database.new
          
            # Put some documents into it
            database << {:name => 'John', :income => 35000}
            database << {:name => 'Bob', :income => 40000}
            database << {:name => 'Jim', :income => 37000}
          
            # Create a view that will return the names
            database.create_view('names') do |document, args|
              document.name
            end
          
            # The result of querying will return an array of names
            assert_equal ['John','Bob','Jim'], database.query('names')
          瀏覽 24
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产精品永久免费观看 | 免费无码毛片一区二区A片小说 | 91无码免费电影 | 亚洲福利网 | 亚洲 欧美 中文 日韩a v一区 |