ulid als scalar hinzugefügt
This commit is contained in:
@@ -17,11 +17,12 @@ impl Repository {
|
||||
"#;
|
||||
|
||||
let typ = sqlx::query_as::<_, model::Typ>(QUERY)
|
||||
.bind(typ.id.to_string())
|
||||
.bind(typ.id)
|
||||
.bind(typ.geaendert_am)
|
||||
.bind(&typ.typname)
|
||||
.fetch_one(db)
|
||||
.await?;
|
||||
// .map(model::Typ::from)?;
|
||||
|
||||
Ok(typ)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user