Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use projection in find query #37

Open
stemword opened this issue May 26, 2021 · 1 comment
Open

Not able to use projection in find query #37

stemword opened this issue May 26, 2021 · 1 comment

Comments

@stemword
Copy link

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

@mitesh24shah24
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants