-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boost 1.87 example update #365
Labels
documentation
Improvements or additions to documentation
Comments
This was incorrectly closed by GitHub. |
anarthal
added a commit
that referenced
this issue
Nov 29, 2024
Added a tutorial on UPDATEs, transactions and multi-queries Added a tutorial on connection_pool Added a tutorial on error handling Added examples on INSERTs and DELETEs Rewrote the discussion page on character sets Added a discussion page on the templated connection class Removed superseded examples on timeouts and multi-queries Updated the coverage build to gcc-14 (gcc-13 was using a non-LTS release that caused problems) Contributes to #365 and #366
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In 1.87, any_connection and SQL formatting are stable, so examples should be updated to reflect these new best practices. Now that C++20 coroutines are more widespread and that we support them cleanly thanks to with_diagnostics, most examples should be updated to use these. Some need to be reviewed (as they were written long ago).
I propose having simple-but-complete examples demonstrating a single feature (e.g. suppressing exceptions, using pipelines, avoiding copies in SQL formatting, metadata...) plus a couple of fully-fledged web servers. In particular, I dislike the current examples about orders, because they don't fit any of these. Some ETL-like examples would be nice, too.
The text was updated successfully, but these errors were encountered: