Skip to content

Commit 41c282c

Browse files
committed
Implement save
1 parent 043fa04 commit 41c282c

File tree

1 file changed

+2
-1
lines changed
  • sql/core/database_strategy_sqlite/src

1 file changed

+2
-1
lines changed

sql/core/database_strategy_sqlite/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ impl DatabaseStrategy for SqliteDatabaseStrategy {
155155
}
156156
}
157157

158-
let result: AnyQueryResult = query.execute(&mut *tx).await?;
158+
// let result: AnyQueryResult = query.execute(&mut *tx).await?;
159+
let result: AnyRow = query.fetch_one(&mut *tx).await?;
159160
let instance = AnyRowJson::from(result).0;
160161
Ok(InsertResult {
161162
instance_id: {

0 commit comments

Comments
 (0)