mirror of
https://github.com/lxsang/silk.git
synced 2024-12-26 12:58:22 +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
|
for k, v in ipairs(self.fields) do
|
||||||
arr[k] = self:infer_field(v)
|
arr[k] = self:infer_field(v)
|
||||||
end
|
end
|
||||||
return string.format("(%s)", table.concat(arr, ","))
|
return string.format("%s", table.concat(arr, ","))
|
||||||
end
|
end
|
||||||
|
|
||||||
function SQLQueryGenerator:sql_order()
|
function SQLQueryGenerator:sql_order()
|
||||||
|
Loading…
Reference in New Issue
Block a user