TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 227 subscribers
Post #23987 18
sqlgen 0.3.0 released - adds support for upserts, foreign key constraints, enums, views

https://github.com/getml/sqlgen/releases/tag/v0.3.0

sqlgen is a reflection-based C++ library for SQL query generation. The major focus is on type safety - mistakes should be caught at compile time, whereever possible.

I posted about this two months ago and received a lot of constructive feedback. Two features that were specifically requested were insert_or_replace (often called "upserts") and foreign key constraints.

With the current release, both of these features are now supported by the library.

As always, any kind of feedback, particularly constructive feedback, is very welcome.

https://redd.it/1nynzdi
@r_cpp
GitHub Release v0.3.0 · getml/sqlgen Support for insert_or_replace (aka "upserts"), thanks to @demianmnave Support for enums, thanks to @hos-b Support for for CREATE VIEW AS (thus support for views) and CREATE TABLE AS Suppo...
More from @r_cpp
  1. Oct 17, 2026A quick C++ standard container overview https://meetingcpp.com/blog/items/A-quick-Cpp-stan…
  2. Oct 17, 2026The Double Headed Stack Allocator – The blog at the bottom of the sea https://blog.demofox…
  3. Oct 17, 2026Barry's C++ Blog - Generating Operator Functions https://brevzin.github.io/c++/2026/10/14/…
  4. Oct 17, 2026MSVC Build Tools Version 14.52 Release Candidate Now Available https://devblogs.microsoft.…
  5. Oct 17, 2026C++ futures part 4: What if I want an immediate on-thread std::async? https://devblogs.mic…
  6. Oct 14, 2026I tested whether a coding agent would use C++23 ranges without being told Blog post: https…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →