<div dir="ltr"><div class="gmail-post-text">
<p>Hello All,</p><p>I am having hard time coming with the syntax of updating map using
cqerl. I have tried the following till now and it doesn't work</p>
<p>statement = "UPDATE keyspace SET data[?] = :data_value WHERE scope = ?;",
values = [{data,'Key Value'},{data_value, 'Data Value',{scope, 'Scope Value'}]</p>
<p>What am I doing wrong here?</p>
<p>Also setting ttl does not work</p>
<p>statement = "INSERT INTO data(scope)
VALUES(?) USING ttl ?",
values = [{scope, 'Scope Value'},{[ttl], '3650'}]</p>
<p>Anyone, any idea?</p><p></p><p>Thanks<br></p>
</div></div>