You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: normalized-cache-sqlite/src/androidMain/kotlin/com/apollographql/cache/normalized/sql/SqlNormalizedCacheFactory.android.kt
Copy file name to clipboardExpand all lines: normalized-cache-sqlite/src/commonMain/kotlin/com/apollographql/cache/normalized/sql/SqlNormalizedCacheFactory.kt
* Creates a new [NormalizedCacheFactory] that uses a persistent cache based on Sqlite
10
10
*
11
-
* @param name: the name of the database or null for an in-memory database
11
+
* @param name The name of the database or null for an in-memory database
12
12
* When not in memory, the database will be stored in a platform specific folder
13
-
* - on Android it will use [Context.getDatabaseName](https://developer.android.com/reference/android/content/Context#getDatabasePath(java.lang.String))
13
+
* - on Android it will use [Context.getCacheDir](https://developer.android.com/reference/android/content/Context#getCacheDir()). It can
14
+
* also be an absolute path to a file.
14
15
* - on MacOS, it will use "Application Support/databases/name"
15
16
* - on the JVM, it will use "System.getProperty("user.home")/.apollo"
0 commit comments