Is there an "IF EXISTS UPDATE ELSE INSERT" command in CQL (Cassandra)? If not, what's the most efficient way to perform such a query?
Basically you should use update. In cassandra they have a bit different mechanics when compared to relational world and will work as implied inserts.
Answer: Does an UPDATE become an implied INSERT
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With