use Function;
use crateColumn;
/// A represention of the `MAX` function in the database.
/// Calculates the maximum value of a numeric column.
///
/// ```rust
/// # use sqlint::{ast::*, visitor::{Visitor, Sqlite}};
/// # fn main() -> Result<(), sqlint::error::Error> {
/// let query = Select::from_table("users").value(max("age"));
/// let (sql, _) = Sqlite::build(query)?;
/// assert_eq!("SELECT MAX(`age`) FROM `users`", sql);
/// # Ok(())
/// # }
/// ```