Add a utility method for getting the innermost type of an `Array` column
Closed this issue · 0 comments
dantownsend commented
In Piccolo API, we need a convenient way of getting the innermost type for an Array
column. For example:
>>> Array(Varchar())._get_inner_type()
str
# It must work for multidimensional arrays too:
>>> Array(Array(Varchar()))._get_inner_type()
str