...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This example demonstrates how to use stored procedures with the dynamic interface to implement a minimal order management system for an online store.
The example employs synchronous functions with exceptions as error handling. See this section for more info on error handling.
This examples requires you to run example/order_management/db_setup.sql
.
You can find table and procedure definitions there.
[example_stored_procedures_cpp11]