MySQL Lists are EOL. Please join:

List:Connector/C++« Previous MessageNext Message »
From:Mike Gran Date:January 6 2018 12:49am
Subject:Adding row to table
View as plain text  
Hi.

I've been trying out mysql-connector-cpp HEAD (post 8.0.6) from github.

One question I can't seem to answer for myself is how one
uses "TableInsert& values(Types... rest)" to insert a new row

I had expected it to be something like
mysqlx::Table T = schema.getTable("test");
T.insert().values("valForColumn1", "valForColumn2").execute()

Regards,
Mike Gran
Thread
Adding row to tableMike Gran6 Jan