IntelliMoonSpirit
IntelliMoonSpirit

Reputation: 63

How get all the values in the rows just deleted? - sqlite

I deleted a row of my table with the where clause in Python sqlite3, then how can I get all the column values of that row?

Upvotes: 0

Views: 114

Answers (1)

9000
9000

Reputation: 40894

Apparently, this is impossible: SQLite's deletehas no returning clause.

Do a select, then do a delete, in the same transaction.

Upvotes: 2

Related Questions