fixed record class

This commit is contained in:
2024-07-15 08:14:11 +02:00
parent ac8b2ed4e4
commit ff3a2e4217
5 changed files with 34 additions and 23 deletions
+4 -2
View File
@@ -107,8 +107,10 @@ int main()
auto update_authors_sql = c.query(s)
.update(qh::authors)
.set({{qh::authors.first_name, "Stephen"},
{qh::authors.last_name, "King"}})
.set({
{qh::authors.first_name, "Stephen"},
{qh::authors.last_name, "King"}
})
.where(qh::authors.last_name == "Crichton")
.execute();