If a column value is a string, use it as the column name

This commit is contained in:
Geoff Leyland 2015-02-13 10:29:42 +13:00
parent fb69e94a89
commit d20cd42d61

View File

@ -62,6 +62,9 @@ function column_map:new(columns)
t = { transform = v } t = { transform = v }
else else
t = {} t = {}
if type(v) == "string" then
names = { normalise_string(v) }
end
end end
end end