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)
有人可以帮助我解决这个问题吗?