Skip to content
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

Open
anarthal opened this issue Oct 5, 2024 · 1 comment · Fixed by #378
Open

Boost 1.87 example update #365

anarthal opened this issue Oct 5, 2024 · 1 comment · Fixed by #378
Labels
documentation Improvements or additions to documentation

Comments

@anarthal
Copy link
Collaborator

anarthal commented Oct 5, 2024

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.

@anarthal anarthal added the documentation Improvements or additions to documentation label Oct 5, 2024
anarthal added a commit that referenced this issue Nov 4, 2024
Added tutorials 2, 3 and 4
Changed most of the discussion to use any_connection
Added examples on disabling TLS, multi-function operations, multi-queries and transactions
All examples now use any_connection
Automate parts of example qbk generation

Partially addresses #365 and #366
@anarthal anarthal reopened this Nov 16, 2024
@anarthal
Copy link
Collaborator Author

This was incorrectly closed by GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant