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
Assuming that in blogs collection every document have authorId field with ObjectId value, following query from Queries README does not work because userId argument is a String and it is not converted to ObjectId.
@brozot you can work around this issue by duplicating authorId string data in authorIdString property and using it for queries. Or you can use model.id() to explicitly set string IDs to documents so there would be no problem for query.
Assuming that in
blogs
collection every document haveauthorId
field with ObjectId value, following query from Queries README does not work becauseuserId
argument is aString
and it is not converted to ObjectId.The text was updated successfully, but these errors were encountered: