CAn yuhelp me out I need to check one data in two fields
example:
database:
userID:abc
secondUser:def
I need to get the doc where def exists but i donnot know whether it is at userID or secondUser,I tried a way by creating an array participants and use arraycontain but data in stored against some variable so cant use that if somehow I may know how to store data at array indexes without a variable or how to check def in both userID and secondUser So my work will be done
Thanking in anticipation