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