You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you provide a simple reproduction?
The proper way to do this in sqlite is using json_each operator, which is not yet supported in Content query builder.
However, I believe we can achieve your goal with simpler solution with LIKE. If you provide a simple reproduction we can sort it out.
Discussed in #2955
Originally posted by humblemodulo January 7, 2025
In the previous version of nuxt-content (v2) I would simply query tags like so:
However there is no
contains
in v3, and the logic forIN
seems to require the reverse operation. I've triedLIKE
and that doesn't work either.Definitely need to know the best way to find values in z.array() field types.
As it stands, I'm forced to retrieve all, then run JS
.filter()
on the results. Quite inefficient.The text was updated successfully, but these errors were encountered: