mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #15] Incorrect query results #13
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clibu on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/15
Originally assigned to: @appy-one on GitHub.
I have a db with the following content:
And these indexes:
When I run this query:
I get 5 songs:
When only the first one should match. If I do this without the last (composite) index I get the correct results.
It may well be that this combination of indexes is invalid or doesn't make sense!
@appy-one commented on GitHub (Mar 3, 2021):
It should only use the last index for that query because it has both year and genre. I'll have a look what's going on there.
@appy-one commented on GitHub (Mar 3, 2021):
Fix published in v1.1.2
@clibu commented on GitHub (Mar 4, 2021):
@appy-one All good now. Thanks.