File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11name = " PostgresORM"
22uuid = " 748b5efa-ed57-4836-b183-a38105a77fdd"
33authors = [" Vincent Laugier <vincent.laugier@gmail.com>" ]
4- version = " 0.7.0 "
4+ version = " 0.7.1 "
55
66[deps ]
77DataFrames = " a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Original file line number Diff line number Diff line change @@ -79,10 +79,12 @@ function build_field_name(str_arr::Vector{String},
7979 return field_name
8080end
8181
82- function is_vector_of_enum (coltype:: String ,
83- elttype:: String ,
84- customtypes_names:: Vector{String} )
85- if (coltype == " ARRAY" )
82+ function is_vector_of_enum (
83+ coltype:: String ,
84+ elttype:: String ,
85+ customtypes_names:: Vector{<:AbstractString}
86+ )
87+ if (coltype == " ARRAY" )
8688 if elttype[2 : end ] in customtypes_names # remove the leading underscore
8789 return true
8890 end
@@ -107,10 +109,6 @@ function get_fieldtype_from_coltype(
107109 colname:: String = " "
108110)
109111
110- if (colname == " duration" )
111- @info " duration coltype[$coltype ]"
112- end
113-
114112 attrtype = missing
115113 customtypes_names = keys (customtypes) |> collect |> n -> string .(n)
116114
You can’t perform that action at this time.
0 commit comments