I have a Field in a document called Technicals that contain 3 value (3 names of technicals) I need to check if a specific technical is involved in a specific problem how can I do this with PHP
CodePudding user response:
As shown in the Firebase documentation on querying for array membership that'd be something like this:
$containsQuery = $collectionRef->where('Technical', 'array-contains', 'your value');