pub trait StringAggregates: Dialect {
// Required methods
fn group_concat_expr(column: &str, order_by: &str) -> String;
fn json_array_agg_expr(column: &str) -> String;
fn json_object_agg_expr(key: &str, value: &str) -> String;
}Expand description
GROUP_CONCAT / STRING_AGG, JSON_ARRAYAGG, JSON_OBJECTAGG.
Required Methods§
Sourcefn group_concat_expr(column: &str, order_by: &str) -> String
fn group_concat_expr(column: &str, order_by: &str) -> String
The concatenation of column (wrapped) with an ORDER BY fragment.
Sourcefn json_array_agg_expr(column: &str) -> String
fn json_array_agg_expr(column: &str) -> String
The JSON array aggregate of column.
Sourcefn json_object_agg_expr(key: &str, value: &str) -> String
fn json_object_agg_expr(key: &str, value: &str) -> String
The JSON object aggregate of key and value columns.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".