-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Containment where clauses #1345
Comments
According to the Postgres docs, using
|
Indeed, But this is not the case here: From same doc:
According to the doc, |
What you are referencing is targeted When using the |
Indeed, my mistake. Thanks. |
Hello,
It seems that generated containment where clauses are different and don't use same index.
Given
Generated queries
Request 1 uses jsonb path op (and so index on data).
Request 2 uses jsonb array op (and so index on data->Tags).
Is there any reason to not generate queries as following?
(using jsonb array op (and so index on data->Tags))
Thanks & Regards
The text was updated successfully, but these errors were encountered: