uwenku
標簽列表
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.
總結各行的第一n個元素中的2D陣列方案
2.
stm32f411 HAL ssd1289
3.
如何使用JpaRepository和嵌套的對象列表進行搜索?
4.
加載視圖從XIB和獲取零的MacOS應用程序
5.
簡單HyperHtmlElement例子說明不了什麼
6.
如何從用戶輸入來搜索django/python中的內容?
7.
如何與共享相同字段的實體建立數據庫關係
8.
將函數賦值給使用「this」引用自身的數組對象
9.
文本到莫爾斯電碼在C
10.
Vaadin上傳功能