Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1622

How to use the projection operators - $slice - in find()

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      How should I do to use the python api to perform this query: 

      db.collection.find( { field: value }, { array: {$slice: count } } );
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            GreatTony GuangTian Li [X]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: