mirror of
https://github.com/lxsang/silk.git
synced 2024-12-25 12:38:21 +01:00
fix incorrect generated select statement
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good
This commit is contained in:
parent
71434c48ff
commit
170079053e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user