You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our channel has custom fields and a field has sub fields.
ex) adInfo: {adId: xxx, adTitle: xxx}
I tried to query channels by a sub field with a dot notation as it seems that's the way MongoDB query does. But it doesn't seem to be working. Filters.eq("adInfo.adId", "xxx")
I have no idea what field name I have to put.
Would you be able to let me know how I can achieve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Our channel has custom fields and a field has sub fields.
ex)
adInfo: {adId: xxx, adTitle: xxx}
I tried to query channels by a sub field with a dot notation as it seems that's the way MongoDB query does. But it doesn't seem to be working.
Filters.eq("adInfo.adId", "xxx")
I have no idea what field name I have to put.
Would you be able to let me know how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions