Rails Cassandra 不能与超过一列的过滤器一起使用。
我的模态
class Template
include Cequel::Record
key :id,:int,index:true
column :u_id,:uuid,:auto=>true
column :user_id, :int,index:true
column :code_type,:text,index:true
column :name, :text
column :code_text, :text
timestamps
end
Template.where(:code_type=>"job_html_template",:user_id=>1).allow_filtering!
Cequel::Record::IllegalQuery: Can't scope by more than one indexed column in the same query
I am using cequel (3.0.0)
有人可以帮我看看这有什么问题吗?