Hi this is a noob question but I just wanted to check. I am doing queries using with where clauses like [(like ?s "pre%")]`. Am I correct that in that case datalevin uses its index to only consider the values prefixed with "pre"? I played with datalevin.core/explain and I am pretty confident it does (comparing with something like [(clojure.string/starst-with ?s "pre")]). So call this an ocd check...
Yes. “pre%” gets converted into a range query.
Ok cool I understood the explain return correctly then! Thanks!!!