2

Is there a way to rename a database in Web SQL? I need a simple way to backup all data to another Web SQL database.

Politank-Z
  • 3,653
  • 3
  • 24
  • 28
drinovc
  • 521
  • 5
  • 16

1 Answers1

1

So there is no native way to do this. So the best answer should be: select * from ... each table you want to backup and iterate through results while inserting this data into new "backup" database. So there is no simpler way as rename or backup.

Thank you @Chuck

drinovc
  • 521
  • 5
  • 16