clearAll

suspend fun clearAll(publish: Boolean = false): Boolean

Clears all records.

Pass publish = true or call ApolloStore.publish with ALL_KEYS to notify any watchers.

Return

true if all records were successfully removed, false otherwise

Parameters

publish

whether to notify watchers of the changes

See also