GraphqlDbAdapterExecuteToJsonAsync Method (GraphQLQuery, CancellationToken)

NReco.GraphQL Class Library Documentation
Executes GraphQL query and returns result as a string.

Namespace:  NReco.GraphQL
Assembly:  NReco.GraphQL (in NReco.GraphQL.dll) Version: 1.0.0
Syntax

public Task<string> ExecuteToJsonAsync(
	GraphQLQuery query,
	CancellationToken cancellationToken
)

Parameters

query
Type: NReco.GraphQLGraphQLQuery
GraphQL query
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskString
execution result

Implements

IGraphqlAdapterExecuteToJsonAsync(GraphQLQuery, CancellationToken)
See Also

Reference