Function postgres_protocol::types::array_to_sql [] [src]

pub fn array_to_sql<T, I, J, F>(
    dimensions: I,
    has_nulls: bool,
    element_type: Oid,
    elements: J,
    serializer: F,
    buf: &mut Vec<u8>
) -> Result<(), StdBox<Error + Sync + Send>> where
    I: IntoIterator<Item = ArrayDimension>,
    J: IntoIterator<Item = T>,
    F: FnMut(T, &mut Vec<u8>) -> Result<IsNull, StdBox<Error + Sync + Send>>, 

Serializes an array value.