Help: #howto Build Recipe "database" in Obsidian (complex)

I can’t manage to query my recipes by category - can anybody help?

This is how it looks in my frontmatter:

title: ["xyz"]
category: ["category1", "category2"]

When I do a dataview query like this:

LIST
FROM "folder"
WHERE category="category1"

nothing can be found.

If, however, I change the respective line in my frontmatter from

category: ["category1", "category2"]

to

category: category1

it works.

How can I define multiple categories in my frontmatter that can be read and queried by dataview? I couldn’t figure it out yet… :frowning: