mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-06 01:19:58 -06:00
Fixed typo in insert.md (#4)
This commit is contained in:
committed by
GitHub
parent
3318c40c04
commit
c88d70dd85
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user