Rails Cassandra not work with filter more then one column.
my modal
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)
Can some one please help me what's wrong with this ?
Aucun commentaire:
Enregistrer un commentaire