use Function;
use crateExpression;
/// Returns the number of rows that matches a specified criteria.
/// Count of the underlying table where the given expression is not null.
///
/// ```rust
/// # use sqlint::{ast::*, visitor::{Visitor, Sqlite}};
/// # fn main() -> Result<(), sqlint::error::Error> {
/// let query = Select::from_table("users").value(count(asterisk()));
/// let (sql, _) = Sqlite::build(query)?;
/// assert_eq!("SELECT COUNT(*) FROM `users`", sql);
/// # Ok(())
/// # }
/// ```