Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


EXTENSION

SQLiteNormalizedCache

extension SQLiteNormalizedCache: NormalizedCache

Methods

loadRecords(forKeys:)

public func loadRecords(forKeys keys: Set<CacheKey>) throws -> [CacheKey: Record]

Parameters

NameDescription
keyThe cache keys to load data for

merge(records:)

public func merge(records: RecordSet) throws -> Set<CacheKey>

Parameters

NameDescription
recordsThe set of records to merge.

removeRecord(for:)

public func removeRecord(for key: CacheKey) throws

Parameters

NameDescription
keyThe cache key to remove the record for

removeRecords(matching:)

public func removeRecords(matching pattern: CacheKey) throws

Parameters

NameDescription
patternThe pattern that will be applied to find matching keys.

clear()

public func clear() throws
Next
Introduction
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company