Undelete accidentally deleted records in Sqlite3

前端 未结 7 773
甜味超标
甜味超标 2020-12-19 09:01

As title, possible? I have by accident deleted another record due to my ugly html interface in FireFox. The bad thing is this record delete is a root folder which the progra

7条回答
  •  一向
    一向 (楼主)
    2020-12-19 09:27

    Sorry -- nope. Backups are the only option I know of.

    In the future, consider never issuing DELETE queries, especially from user-accessible forms (let only the DB admin do it, if anyone) -- just include a field in your tables that marks a record as inactive and then factor that in to your queries in the WHERE clause.

提交回复
热议问题