![](/img/trans.png)
[英]fastAPI SQLmodel MultipleResultsFound: Multiple rows were found when exactly one was required
這是我刪除的 function。 我想刪除 session_id 匹配的所有記錄。 但它拋出以下錯誤MultipleResultsFound: Multiple rows were found when exactly one was required 我怎樣才能一次刪除多行。 我嘗試使用 但它說 ...