Replies: 1 comment
-
The first version had this example: const produits = await this.$content('produits').where({ 'categories.slug': { $contains: 'haut' } }).fetch()
const produits = await this.$content('produits').where({ 'categories.slug': { $contains: ['haut', 'femme'] } }).fetch() This |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are documents in YAML format that have the following data inside:
Can you please tell me what condition should be written in
where
to get documents forslug
with valueband-2
?There is currently no such example in the documentation. The example for categories is different and doesn't fit.
Beta Was this translation helpful? Give feedback.
All reactions