pub trait Concatenable: SqlType { }Expand description
What string_agg accepts. Postgres defines it for text and for
bytea. The bytea one concatenates bytes and returns bytea, which
is a different question than the one this asks, so text is the set here.
It is also the set the other two dialects coerce their arguments into
anyway.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Concatenable for Text
impl<S: Concatenable> Concatenable for Nullable<S>
A nullable column concatenates like its base type: string_agg skips
the NULLs rather than being undefined over them.