fix incorrect generated select statement
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-02-20 17:10:12 +01:00
parent 71434c48ff
commit 170079053e

View File

@ -127,7 +127,7 @@ function SQLQueryGenerator:sql_fields()
for k, v in ipairs(self.fields) do
arr[k] = self:infer_field(v)
end
return string.format("(%s)", table.concat(arr, ","))
return string.format("%s", table.concat(arr, ","))
end
function SQLQueryGenerator:sql_order()