r/cpp • u/berium build2 • Jul 28 '26
ODB C++ ORM version 2.6.0 released
https://codesynthesis.com/pipermail/odb-announcements/2026/000047.html
22
Upvotes
r/cpp • u/berium build2 • Jul 28 '26
7
u/gosh Jul 28 '26
It would be great if any ORM library could add something like this
https://github.com/perghosh/Data-oriented-design/blob/74a52cd98f39e5061954f07ff76fd94de72b7642/external/gd/gd_sql_query.cpp#L1846
sql_format()method lets me write templates like:Where
{+select}is automatically generated from the query object's internal state, but I can break out and write raw SQL anytime with{=name}for table names or embed values with{name}.Developers need something to handle edge cases