Skip to content

Commit

Permalink
Add 'backup_to()'- and 'restore_from()'-methods to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2shady4u committed Feb 4, 2024
1 parent 44626e9 commit 4cc7eaf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ Additionally, a video tutorial by [Mitch McCollum (finepointcgi)](https://github
Check if the given database connection is or is not in autocommit mode, see [here](https://sqlite.org/c3ref/get_autocommit.html).
- Boolean success = **backup_to(** String destination_path **)**
- Boolean success = **restore_from(** String source_path **)**
Backup or restore the current database to/from a path, see [here](https://www.sqlite.org/backup.html). This feature is useful if you are using a database as your save file and you want to easily implement a saving/loading mechanic. Be warned that the original database will be overwritten entirely when restoring.
## Frequently Asked Questions (FAQ)
### 1. My query fails and returns syntax errors, what should I do?
Expand Down
2 changes: 2 additions & 0 deletions demo/addons/godot-sqlite/bin/binaries_here.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Download binaries and place them in this folder.
Latest binaries: https://github.com/2shady4u/godot-sqlite/releases
2 changes: 1 addition & 1 deletion demo/addons/godot-sqlite/gdsqlite.gdextension
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[configuration]

entry_symbol = "sqlite_library_init"
compatibility_minimum = 4.1
compatibility_minimum = 4.2

[libraries]

Expand Down

0 comments on commit 4cc7eaf

Please sign in to comment.