Function map_length

Source
fn map_length<T: TryFrom<usize>>(map: MapRef<'_>) -> Result<T, ExprError>
Expand description
query I
select
    map_length(NULL::map(int,int)),
    map_length(MAP {}::map(int,int)),
    map_length(MAP {1:1,2:2}::map(int,int))
----
NULL 0 2