Yes, you can use wildcards, sort of.
I still can not vote or even comment on the previous answers (hmmm ...), so I just repeat the answer of user2025527 as it worked completely for my needs.
Use the bounds method and specify the base value for the first argument and the same value plus an extra character for the second argument.
In most cases, the extra character of the character should be the last in your encoding: \ uffff
But you can decide what the limit is, especially when it comes to localization.
Suppose you have the following values ββin your index:
To find everything that is indicated in "BA", you should use
var range = IDBKeyRange.bound("BA", "BA" + '\uffff');
source share