mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #86] Wildcards at index root #54
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#54
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 @ThePhantomLemon on GitHub (Mar 18, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/86
Originally assigned to: @appy-one on GitHub.
The above code returns an error from line 1095 in data-index.js. specifically this line:
match()is returning null so of course it errors when trying to callslice().Presumably I should have my data just be 1 level deeper.
@appy-one commented on GitHub (Mar 19, 2022):
I tried to reproduce this but couldn't so I checked the code, The regular expression used expects the keys for wildcards to only contain characters A-Z, a-z, 0-9 and/or _. Do your keys maybe contain other characters than these?
@ThePhantomLemon commented on GitHub (Mar 20, 2022):
Hey, so I ran all the keys through a regex and stuff to check and everything was fine. But then I decided to try the above code again and it works now. It's a possibility that when I initially ran this the database wasn't ready yet, since I refactored quite a bit since then. IDK if that would result in this kind of issue though. In any case I can't reproduce it.