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