DatabasePath

sealed interface DatabasePath

Defines the strategy for resolving the database file path across different platforms.

Inheritors

Types

Link copied to clipboard
data class Custom(val absoluteDirectoryPath: String) : DatabasePath

A custom directory path.

Link copied to clipboard
data object InMemory : DatabasePath

In-memory database. Useful for testing or volatile data.

Link copied to clipboard
data object Internal : DatabasePath

Internal application storage.

Link copied to clipboard
data object Temporary : DatabasePath

Temporary storage (cache).