Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


Welcome to Boost.MySQL examples. If you are intending to run the examples, please go through the setup first.

Here is a list of available examples:

  1. Text queries
  2. Prepared statements
  3. Metadata
  4. UNIX sockets
  5. Async functions using callbacks
  6. Async functions using futures
  7. Async functions using stackful coroutines
  8. Async functions using C++20 coroutines
  9. Async functions using default completion tokens
  10. Settings timeouts
  11. Setting SSL options