[−][src]Function postgres_protocol::types::array_to_sql
pub fn array_to_sql<T, I, J, F>(
dimensions: I,
element_type: Oid,
elements: J,
serializer: F,
buf: &mut BytesMut
) -> Result<(), StdBox<dyn Error + Sync + Send>> where
I: IntoIterator<Item = ArrayDimension>,
J: IntoIterator<Item = T>,
F: FnMut(T, &mut BytesMut) -> Result<IsNull, StdBox<dyn Error + Sync + Send>>,
Serializes an array value.