mongodb-cakephp3 icon indicating copy to clipboard operation
mongodb-cakephp3 copied to clipboard

Not able to use projection in find query

Open stemword opened this issue 4 years ago • 1 comments

$this->find('all',$options) return all fields

stemword avatar May 26 '21 06:05 stemword

I am also facing same issue. although i am passing $options['fields'] OR $options['projection'] , none of them work. and returning all fields of collection . its getting heavy usage of memory when collection has millions of datasets.

mitesh24shah24 avatar Jun 08 '21 11:06 mitesh24shah24