Sqlpp11, An EDSL For Type-Safe SQL In C++11
summary
Sqlpp11 is an EDSL for type safe SQL in C++11 that turns SQL into expression templates and variadic templates so the compiler catches concrete errors like wrong column names, mismatched parameter counts, or type mismatches instead of runtime failures. It emits readable compile-time checks with file and line, supports prepared statements with named parameters, and ships connector points for MySQL SQLite PostgreSQL so backends supply vendor specifics. Typical statement compilations take seconds, most real bugs disappear and one user reports a single SQL runtime error in 18 months.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:46Why on Earth Do We Need Just another Sql Library for C + +
- 4:30Insert Statement
- 19:36Dynamic Statements
- 25:53Intermediate Summary
- 27:09Change the Sql Implementation at Runtime
- 28:32Specify the Full Where Statement as a String
- 39:34Result Field
- 45:27Select Statement
- 49:19Serializers
- 50:55String Concatenation
- 51:46Summary
- 58:09How Is Microsoft Visual Studio Support
related talks
59msqlpp11, An SQL Library Worthy Of Modern C++
49mC++20 ❤ SQL
32mBecause SQL is everywhere but you don't want to use it
15mWhat If Writing SQL Became Cool Again?
29mDuckPL: A procedural language in DuckDB
44mPostgreSQL for Developers
13mWriting an Interpreter in SQL for Fun and No Profit!
01h 05m“A modern database interface for C++"
