count_all

Function count_all 

Source
pub fn count_all<'a, V>() -> SQLExpr<'a, V, BigInt, NonNull, Agg>
where V: SQLParam + 'a,
Expand description

COUNT(*) - counts all rows.

Returns a BigInt, NonNull (count is never NULL), Aggregate expression.

§Example

use drizzle_core::expr::count_all;

let total = count_all();
// Generates: COUNT(*)