execute

abstract suspend override fun execute(): QueryResult<Data, Variables>(source)

Executes the query with FetchPolicy.PREFER_CACHE.


abstract suspend fun execute(fetchPolicy: QueryRef.FetchPolicy): QueryResult<Data, Variables>(source)

Executes the query, taking the result from the cache or the server according to fetchPolicy.