ApolloStore.ReadTransaction
CLASS
ApolloStore.ReadTransaction
Swift
1public class ReadTransactionMethods
read(query:)
Swift
1public func read<Query: GraphQLQuery>(query: Query) throws -> Query.DatareadObject(ofType:withKey:variables:)
Swift
1public func readObject<SelectionSet: RootSelectionSet>(
2 ofType type: SelectionSet.Type,
3 withKey key: CacheKey,
4 variables: GraphQLOperation.Variables? = nil
5) throws -> SelectionSet