-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
selector doesn't work in SQLite
#6792
Comments
@marius-se Can you paste your schema or send it to me privately via discord? |
Ok I did some investigations.
I will add a dev-mode check to ensure a query is not allowed to have To query for documents where field X does not exists, use the |
pubkey
added a commit
that referenced
this issue
Jan 30, 2025
Fixed here: #6795 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the Capactior SQLite adapter and noticed that a query like this:
doesn't return any results: It does however return the correct result when using the IndexedDB adapter. The document I'm trying to find looks exactly the same in both storages (IndexedDB and Capacitor SQLite): In both cases the
replaced_valve_id
key/value is not present at all.This is the document in the IndexedDB (as you can see -> no
replaced_valve_id
):This is the document in SQLite (also no
replaced_valve_id
):If I remove the
replaced_valve_id: undefined
it'll work correctly with both storage adapters!The text was updated successfully, but these errors were encountered: