{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/3d0c3324e327edea63f4a10f4f4b3a13?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3d0c3324e327edea63f4a10f4f4b3a13","url":"https://api.github.com/users/jgonera","login":"jgonera","id":223481},"milestone":null,"labels":[],"updated_at":"2011-11-09T15:13:45Z","assignee":null,"comments":0,"closed_at":null,"url":"https://api.github.com/repos/christkv/node-mongodb-native/issues/399","body":"This works as expected:\r\n\r\n    collection('posts', function(err, collection) {\r\n      collection.find({_id: someid}, {comments: {$slice: -5}).toArray(function(err, docs) {\r\n        // docs[0] contains the post with its last 5 comments\r\n      });\r\n    });\r\n\r\nAnd this doesn't:\r\n\r\n    collection('posts', function(err, collection) {\r\n      collection.findOne({_id: someid}, {comments: {$slice: -5}, function(err, doc) {\r\n        // doc contains the post with all its comments\r\n        // {comments: {$slice: -5}} silently ignored\r\n      });\r\n    }); ","html_url":"https://github.com/christkv/node-mongodb-native/issues/399","title":"findOne() does not support all the options find() does","number":399,"id":2187039,"created_at":"2011-11-09T15:13:45Z"},"action":"opened"}