use crateDatabaseValue;
/// An aggregate function that concatenates strings from a group into a single
/// string with various options.
/// Aggregates the given field into a string.
///
/// ```rust
/// # use quaint::{ast::*, visitor::{Visitor, Sqlite}};
/// let query = Select::from_table("users").value(aggregate_to_string(Column::new("firstName")))
/// .group_by("firstName");
///
/// let (sql, _) = Sqlite::build(query);
/// assert_eq!("SELECT GROUP_CONCAT(`firstName`) FROM `users` GROUP BY `firstName`", sql);
/// ```