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

Num Rows with Medoo #195

Closed
klikmedija opened this issue Feb 3, 2015 · 2 comments
Closed

Num Rows with Medoo #195

klikmedija opened this issue Feb 3, 2015 · 2 comments

Comments

@klikmedija
Copy link

Is it possible to get number of selected rows using Medoo? I havent found anything about it in the documentation.

num_rows() in mysqli or rowCount in pdo.

@Jervelund
Copy link

If you are using medoo->select you can use count to check the size of the returned array: http://php.net/manual/en/function.count.php

@catfan
Copy link
Owner

catfan commented Mar 16, 2015

@Jervelund Right

@catfan catfan closed this as completed Mar 18, 2015
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

3 participants