tqcq
99c258107b
All checks were successful
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m24s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m30s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m43s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m47s
linux-x64-gcc / linux-gcc (push) Successful in 2m11s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 3m19s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 3m39s
Co-authored-by: tqcq <99722391+tqcq@users.noreply.github.com> Reviewed-on: #2
1.3 KiB
1.3 KiB
Introduction
Let's see:
- You know C++?
- You know some SQL?
- You want to use SQL in your C++ program?
- You think C++ and SQL should play well together?
- You know which tables you want to use in a database?
- You can cope with a few template error messages in case something is wrong?
You have come to the right place!
sqlpp11 offers you to code SQL in C++ almost naturally. You can use tables, columns and functions. Everything has strong types which allow the compiler to help you a lot. At compile time, it will tell about most of those pesky oversight errors you can make (typos, comparing apples with oranges, forgetting tables in a select statement, etc). And it does not stop at query construction. Results have ranges, and strongly typed members, so that you can browse through results in a type-safe manner, worthy of modern C++.
The following pages will tell you how to use it:
- Database Connectors
- Tables
- Insert
- Select <- You might want to read this first as an appetizer
- Update
- Remove
- Functions
- Prepared Statements
- Transactions
- Thread Safety
- NULL
- Connection Pools
- New Features