PT Português
Versão: v2.3.0

count

Contar as linhas correspondentes em uma tabela.

count($table, $where)
count($table, $join, $column, $where)
Valor de retorno
[int] O número de linhas correspondentes.
Este método sempre retorna um número inteiro.
$count = $database->count("account", [
	"gender" => "female"
]);

echo "Temos {$count} usuárias.";