VoidCC
標簽列表
cequel
0
熱度
1
回答
使用地圖或列表類型
我想在Cassandra和Cequel的Rails 5中定義一個Box類。 有沒有辦法用地圖類型來定義一個列。 像這樣 create table Box (id int PRIMARY KEY, coordinates Map<text, int>) ,有沒有辦法在軌與Cequel做到這一點? 非常類似 class Box include Cequel::Record co
ruby-on-rails
cassandra
cequel
2016-11-08
1
熱度
1
回答
如何用cequel創建Cassandra表(不使用導軌)
我使用Cequel作爲沒有導軌的Cassandra的ORM。 我嘗試創建一個簡單的項目列表時遇到問題。 首先我定義了三個應該屬於複合鍵的列。 class Project include Cequel::Record key :client, :text, { partition: true } key :type, :text, { partition: true
ruby
cassandra
cequel
2015-05-20
1
熱度
1
回答
Ruby - 與Cequel的櫃檯表
我已經開始在項目中使用Cequel,我無法弄清楚如何使用Counters表。我有以下定義: class Counter include Cequel::Record key :user_id, :text column :text, :counter column :int, :counter column :boolean, :counter
ruby-on-rails
cequel
2017-07-31
2
熱度
1
回答
定義表複合主鍵卡桑德拉
考慮以下僞CQL表結構: CREATE TABLE searches ( category text, timestamp timestamp, no_of_searches int, avg_searches double, PRIMARY KEY((category, timestamp), no_of_searches) ); 及以下的R
ruby-on-rails
cassandra
cequel
2014-09-22
最新問題
1.
如何在已經有「擴展」的Activity中添加MapView?
2.
從排列表創建數據幀,並遍歷它
3.
PHP跳過循環基於查詢結果集的迭代
4.
iOS - mp3文件沒有播放,沒有錯誤?
5.
手動創建類型標記
6.
Unix查找與目錄匹配的目錄
7.
如何使用kwargs在matplotlib.axes.Axes.arrow蟒蛇2.7
8.
如何線程安全地讀取和寫入數據庫?
9.
只有當輸入至少有一個數字時才顯示mat-autocomplete
10.
我想輸入數據到parse.com中的custmom列,但我得到一個錯誤