📄️ Create Database
SwartzDB allows you to create a new database file using the create function. This function generates an empty .sdb file in the specified storage directory.
📄️ Backup Database
SwartzDB provides a backup function that allows you to create a copy of an existing database file. This feature is useful for data recovery, versioning, and preventing accidental data loss.
📄️ Check Database Integrity
SwartzDB includes an integrity function that helps verify whether a database file is valid and readable. This function is useful for detecting corruption.
📄️ Restore Database
SwartzDB provides a restore function that allows you to recover a previously backed-up database. This is essential in cases where the main database gets corrupted, accidentally deleted, or modified incorrectly.
📄️ Delete Database
SwartzDB provides a delete function that allows you to remove database files permanently. This function can be used to delete both main database files and backup files.