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

Unable to limit fields returned #34

Closed
ScottSpittle opened this issue Sep 3, 2015 · 2 comments
Closed

Unable to limit fields returned #34

ScottSpittle opened this issue Sep 3, 2015 · 2 comments
Labels
Milestone

Comments

@ScottSpittle
Copy link

$this->account->where(['billing.status' => 'active'])->toArray(); Works Great.
$this->account->where(['billing.status' => 'active'], ['_id'])->toArray(); Not only returns invalid data (accounts with different status), but returns all the fields rather than just _id like I specified.

Am I doing something wrong here?

@ScottSpittle
Copy link
Author

#36

@GuilhermeGuitte GuilhermeGuitte modified the milestones: v2.0, v2.1 Apr 7, 2016
@ravanscafi
Copy link
Contributor

Done in #57 for our new version 😉

@ravanscafi ravanscafi modified the milestones: v2.0, v2.1 Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants