Fixed typo in insert.md (#4)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-05-21 22:30:03 +02:00
committed by GitHub
parent 3318c40c04
commit c88d70dd85

View File

@@ -65,7 +65,8 @@ Insert data using a reference wrapper to avoid copying:
const auto people = std::vector<Person>(/* ... */);
sqlgen::sqlite::connect("database.db")
.and_then(sqlgen::insert(std::ref(people)))
.value();```
.value();
```
## Example: Full Transaction Usage