Fix that CRUD window did not properly quote column names when this is required.
This commit is contained in:
parent
3cc28231f9
commit
e5a5dc15f9
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ std::tuple<QString, Pgsql::Params> CrudModel::createInsertQuery(const PendingRow
|
|||
first = false;
|
||||
else
|
||||
q << ",";
|
||||
q << column.name;
|
||||
q << quoteIdent(column.name);
|
||||
}
|
||||
q << ") VALUES ($1";
|
||||
for (size_t p = 2; p <= data.size(); ++p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue