You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

ApolloStore.ReadTransaction


CLASS

ApolloStore.ReadTransaction

Swift
1public class ReadTransaction

Methods

read(query:)

Swift
1public func read<Query: GraphQLQuery>(query: Query) throws -> Query.Data

readObject(ofType:withKey:variables:)

Swift
1public func readObject<SelectionSet: GraphQLSelectionSet>(ofType type: SelectionSet.Type,
2                                                          withKey key: CacheKey,
3                                                          variables: GraphQLMap? = nil) throws -> SelectionSet
Feedback

Edit on GitHub

Forums