Added datasource extraction check

This commit is contained in:
Luca Deri 2020-04-29 12:42:01 +02:00
parent 370c7bb8ec
commit eb2c2dd47a
3 changed files with 17 additions and 9 deletions

View file

@ -122,6 +122,8 @@ end
-- Return the data
function datamodel:getData(transformation, dataset_name)
transformation = string.lower(transformation)
if(transformation == "table") then
return(self:getAsTable())
elseif(transformation == "donut") then