2018-12-05 17:17:49 UTC
SELECT ID, country, states, state_map
WHERE state_status = 'Y'
GROUP BY country
Each country should have multiple states.so states is a list.
You received this message because you are subscribed to the Google Groups "mongodb-user"
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/ee372821-b6a8-4ead-948d-91b1c7184c48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.