how can query using the key sst
and sd to return a documents matching the two exact values? Example when
i query using sst:1, sd :1 it should return the documents but sst:1 and
sd:3 should not. The problem am having is that when i query using
"find" using sst:1, sd:3 it still return this JSON.
br
Abraham
burak serdar
unread,
Jan 17, 2020, 10:59:52 AM1/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to afriyie...@gmail.com, golang-nuts
This is a mongodb question, it is not related to Go language. I
suggest you read the mongodb query manuals. What you're looking for
can be found under $elemMatch query.