Struct postgres_protocol::types::Array
source · pub struct Array<'a> { /* private fields */ }
Expand description
A Postgres array.
Implementations§
source§impl<'a> Array<'a>
impl<'a> Array<'a>
sourcepub fn element_type(&self) -> Oid
pub fn element_type(&self) -> Oid
Returns the OID of the elements of the array.
sourcepub fn dimensions(&self) -> ArrayDimensions<'a>
pub fn dimensions(&self) -> ArrayDimensions<'a>
Returns an iterator over the dimensions of the array.
sourcepub fn values(&self) -> ArrayValues<'a>
pub fn values(&self) -> ArrayValues<'a>
Returns an iterator over the values of the array.