I am probably going nuts but I can't find anyway to return a whole array (not just specific element) from a document.
Here is a document:
> {'_id': ObjectId('5c82a442338325bcc71a9872'), 'sg_id': 'sg-12341234',
> 'ingress_rules': {'port': 22, 'cidr ': ['172.22.36.0/24',
> '172.22.4.0/24']}}
What I want is to return whole of cidr array.
I am using mongo 3.2, and pymongo (Python3.7)