Skip to content

Commit 1578537

Browse files
committed
notes from sqlx presentation
1 parent f2aef34 commit 1578537

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

books/sqlx/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,11 @@ Copilot can use these examples as reference implementations for:
2626
- "Add input validation and better error messages to the counter app."
2727
- "Add a new column to grades and update migration plus import logic."
2828

29+
30+
link to https://crates.io/crates/sqlx
31+
change the counter example to use a struct
32+
33+
family tree - don't use "DO NOTHING"
34+
merge the set_father_of and set_mother_of functions
35+
reuse the find_person_id in the ensure_person
36+
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Student,Math,Chemistry,Biology,Physics,Literature,Sport,Drawing
2-
Joe,100, 80,,30,,,
2+
Joe,100, 80, ,30,,,
33
Jane,90, 92,100,,,,
4-
Mary,,70,,48,51,97,20
4+
Mary, , 70, ,48,51,97,20

0 commit comments

Comments
 (0)