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

[2.0.x] Added method distinct() in Mvc\Model\Criteria #10538

Merged
merged 1 commit into from
Jun 24, 2015

Conversation

KorsaR-ZN
Copy link
Contributor

Fix for #10536

@williamokano
Copy link

@andresgutierrez 👍

@@ -114,6 +114,15 @@ class Criteria implements CriteriaInterface, InjectionAwareInterface
}

/**
* Sets SELECT DISTINCT / SELECT ALL flag
*/
public function distinct(var distinct) -> <Criteria>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be a boolean?

andresgutierrez added a commit that referenced this pull request Jun 24, 2015
[2.0.x] Added method distinct() in Mvc\Model\Criteria
@andresgutierrez andresgutierrez merged commit 435f0e7 into phalcon:2.0.x Jun 24, 2015
@KorsaR-ZN KorsaR-ZN deleted the issues-10536 branch July 3, 2015 05:38
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

Successfully merging this pull request may close these issues.

4 participants