SqlNormalizedCacheFactory
expect class SqlNormalizedCacheFactory(name: String? = "apollo.db") : NormalizedCacheFactory
Content copied to clipboard
Creates a new NormalizedCacheFactory that uses a persistent cache based on Sqlite
actual class SqlNormalizedCacheFactory(name: String?) : NormalizedCacheFactory
Content copied to clipboard
Parameters
name
: the name of the database or null for an in-memory database When not in memory, the database will be stored in a platform specific folder
on Android it will use Context.getDatabaseName
on MacOS, it will use "Application Support/databases/name"
on the JVM, it will use "System.getProperty("user.home")/.apollo" Default: "apollo.db"
Constructors
Link copied to clipboard
fun SqlNormalizedCacheFactory(url: String, properties: Properties = Properties())
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard