catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

No count method in master branch of 1.5.7 #774

Closed chuv1 closed 6 years ago

chuv1 commented 6 years ago

Decided to give a try to this framework, but found out that there is no count() method in master branch (id do exist in develop however). Mentioned method is documented as existing, so I thing that some one just missed something.

catfan commented 6 years ago

count() or other aggregate methods are defined on _call(). However the recent commit on develop branch is changed it as public call.

https://github.com/catfan/Medoo/blob/8d90cba0e8ff176028847527d0ea76fe41a06ecf/src/Medoo.php#L247

chuv1 commented 6 years ago

Oh, I see. That's why there were no hint in IDE. Sorry for that.