Got the structure; got lots of tests; item still needs work

This commit is contained in:
Julia Lange 2026-01-22 10:39:38 -08:00
parent d7123fb153
commit 7bb4cf4230
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
5 changed files with 338 additions and 88 deletions

View file

@ -51,7 +51,7 @@ impl User {
pub async fn create(pool: &SqlitePool, name: &str) -> Result<Self> {
let result = sqlx::query!(
"INSERT INTO users (name)
"INSERT INTO users (name)
VALUES (?)
RETURNING id, name",
name