fixed record class
This commit is contained in:
+4
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user