IosStorage

class IosStorage(storageFileUrl: ERROR CLASS: Symbol not found for NSURL, excludeFromBackup: Boolean = true) : SqliteStorage

Implementation of Storage for iOS platform.

Parameters

storageFileUrl

a URL with the path to the database file.

excludeFromBackup

if true, the database file will be excluded from backup.

Constructors

Link copied to clipboard
constructor(storageFileUrl: ERROR CLASS: Symbol not found for NSURL, excludeFromBackup: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clock: kotlin/time/Clock

Functions

Link copied to clipboard
open suspend override fun getTable(spec: StorageTableSpec): StorageTable

Get the table with specific name and features.

Link copied to clipboard
open suspend override fun purgeExpired()

Reclaim the storage occupied by expired entries across all tables in this Storage object (even if these tables were never accessed using getTable in this session).