How can I filter by Matrix field I have a Matrix field and I want to be able to filter by it.

For example I want to get all entries that has matrixField.field1Type.value = {some value}.

How can I do that?
You can query Matrix blocks like you are used to with all other elements

{% set blocks = element.matrixFieldHandle.type('typeHandle').field('some value').all() %}


Keep in mind your field should be a valid field handle within your block type