I like to receive all documents where key is starting with "abs" for example.
The documents in the collection users have the following keys:
'abs34kl'
'abs24io'
'abi98io'
The query should return the first and the second document.
My idea was to do it with orderBy:
var query = await Firestore.instance.collection('users').orderBy(...)
.startAt(_controller.text)
.endAt(_controller.text+"\uf8ff").limit(10);
How can I orderBy key? Or is there a better way to do that?