dexie / dexie-website

Website dexie.org
https://dexie.org
Apache License 2.0
33 stars 292 forks source link

missing orderBy #143

Open tacman opened 5 months ago

tacman commented 5 months ago

on https://dexie.org/docs/API-Reference#query-items

// This query is equal to:
//   select * from friends where firstName='Angela' order by lastName
const angelasSortedByLastName = await db.friends
    .where('[firstName+lastName]')
    .between([["Angela", ""], ["Angela", "\uffff"])
    .toArray()

Is it really the same as the orderby? If so, can you document why, or correct it if it's simply missing the orderby. Thx.