![]() |
AFAIK You can´t do this with your aggregation query. Launch the query and, by code, check the count. |
Follow the Example.
<?php
$data = 5; if ( $data < 10 ){ echo 'Below'; } else { echo 'Upper'; }
?>
Category
: |
Web Tutorial |
Sub Category
: |
PHP String Tutorial |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference