I have some entries with a multi-select field called "gallery". We can choose many images to this field.
I have a given image, how can I query entries whose "gallery" contains this given image? Thx!
I have tried like this with no success:
Entry::find()
->section($section)
->galleryImages('contains' . $image->id)
->all();