After implementing the idea that we talked here now I have a student collection in Firestone where there is an array with each field is a combination of the teacherID_subject_academicYear.
Now I would like to be able to query every student where the teacherID is present in the array, but my problem is that the ID is just part of the field.
Maybe it could be solved if I could create a variable where I apply the method slice to the fields in the array and then make the query against the variable. But where could I place that variable? Because in the query box it wouldn’t accept it.