Boost C++ Libraries

Next

Chapter 1. Boost.Mysql

Ruben Perez

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Introduction
Motivation
Requirements
Acknowledgements
Tutorial
MySQL values
Conversions
A note on string values
Text queries
Prepared statements
Resultsets
Rows
Fetching rows
Resultsets becoming complete
Metadata
When does the server send the rows?
Going async
Completion tokens
Default completion tokens
Sequencing of operations
UNIX sockets and other stream types
Error handling and available overloads
Connection parameters
Authentication
Connect with database
Connection encoding and collation
SSL/TLS
Examples
Setup
Text query, synchronous
Prepared statements
Metadata
UNIX sockets
Text query, async with callbacks
Text query, async with futures
Text query, async with Boost.Coroutine coroutines
Text query, async with C++20 coroutines
Default completion tokens
MySQL to C++ mapping reference
Reference

Last revised: July 06, 2020 at 16:52:35 GMT


Next