GraphqlDbAdapter.ExecuteToJsonAsync Method (String, 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(
	string query,
	CancellationToken cancellationToken
)

Parameters

query
Type: System.String
string with GraphQL query
cancellationToken
Type: System.Threading.CancellationToken

Return Value

Type: Task<String>
execution result

Implements

IGraphqlAdapter.ExecuteToJsonAsync(String, CancellationToken)
See Also

Reference