# Functions
AccessModeFromString converts a string representation of an access mode to an AccessMode type.
JournalModeFromString converts a string representation of a journal mode to a JournalMode type.
No description provided by the author
NewEvolver creates a new instance of Evolver.
WithAccessMode enables SQLite to use picked access mode.
WithBackupBeforeMutations returns an EvolverOption that sets the backupBeforeMutations field of the Evolver to true.
WithBackupToFile sets backup to a file.
WithBackupToS3 sets backup to S3-like storages.
WithJournalMode sets SQLite to use picked journal mode.
WithMutationTimeout returns an EvolverOption that sets the mutationTimeout field of the Evolver to the specified timeout value.
# Constants
Delete journaling mode is the normal behavior.
ErrUnsupportedAccessMode indicates that AccessMode which has been passed to the New function by WithAccessMode option is not supported by the Storage.
ErrUnsupportedJournalMode indicates that JournalMode which has been passed to the New function by WithJournalMode option is not supported by the Storage.
File represents backup destination to a file.
InMemory is a mode in which database will be opened as an in-memory database.
Memory journaling mode stores the rollback journal in volatile RAM.
Off journaling mode disables the rollback journal completely.
Persist journaling mode prevents the rollback journal from being deleted at the end of each transaction.
ReadOnly is a mode in which the database is opened in read-only mode.
ReadWrite is a mode in which database is opened for reading and writing if possible, or reading only if the file is write-protected by the operating system.
ReadWriteCreate is a mode in which the database is opened for reading and writing, and is created if it does not already exist.
S3 represents backup destination to S3-like storages.
Truncate journaling mode commits transactions by truncating the rollback journal to zero-length instead of deleting it.
WAL journaling mode uses a write-ahead log instead of a rollback journal to implement transactions.
# Structs
No description provided by the author
Evolver is responsible for database schema evolution.
FileBackupConfig holds file backup configuration.
Mutation represents a single schema mutation.
S3BackupConfig holds S3 backup configuration.
SchemaVersionInfo represents information about a schema version.
# Type aliases
AccessMode represents SQLite access mode.
Error represents package level errors related to the storage engine.
No description provided by the author
JournalMode represents SQLite journaling mode.
Option represents an optional functions which configures the Storage.
To represents backup destination type.