Drupal - How to check if a database query has results?
If I'm correct the result of the execute() call should be a DatabaseStatementInterface which has a rowCount function.
If I'm correct the result of the execute() call should be a DatabaseStatementInterface which has a rowCount function.