MongoFrames v1.2.13 Release Notes
Release Date: 2018-08-15 // over 5 years ago-
For example this is now possible:
projection={ 'employees': { '$ref': Employee, '$slice': 2, 'name': True } }
So get the first 2 employee Ids in an array of employee Ids stored against the field
employees
and project them as Employee documents selecting only the name field for each.