boostorg / mysql

MySQL C++ client based on Boost.Asio
https://www.boost.org/doc/libs/master/libs/mysql
Boost Software License 1.0
257 stars 33 forks source link

execute is missing #160

Closed Mecanik closed 1 year ago

Mecanik commented 1 year ago

I`m using Boost 1.82 with the included MySQL, however the .execute() function is missing which is specified in the docs. Are the docs outdated or the code? Thanks.

anarthal commented 1 year ago

Actually the docs are too new - execute() is a newer, more general function that will be available in 1.83. execute() is in master but not in 1.82.

Docs for 1.82 are here: https://www.boost.org/doc/libs/1_82_0/libs/mysql/doc/html/index.html

You can achieve the same functionality in 1.82 using connection::query and connection::execute_statement.

Mecanik commented 1 year ago

Thank you!