Closed plaxdan closed 7 years ago
No, but startsWith() is actually just sugar for between(prefixString, prefixString + '\uffff'). So lets say you want to search for documents where type="email" and name starts with "a", you could express it like
db.documents.where('[type+name]').between(
["email", "a"],
["email", "a\uffff"])
...assuming you've indexed "[type+name]".
@dfahlander this should be added in the docs 😄
Is there no way to perform a [
WhereClause.startsWith()
](http://dexie.org/docs/WhereClause/WhereClause.startsWith().html) on a compound index? The following snippets are from this fiddle.The following variants were also tried, but to no avail: