It is possible to found a substring in a String in CQL ? For exemple, make a query like this :
select id from table where string contains 'do'
Thank you in advance
Yes, this is possible with the usage of Storage Attached Index (SASI). Your query will be something like:
SELECT * FROM table WHERE colname LIKE 'do%';
Have a look at official documentation on how to use it.
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