package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev

# Functions

ApplyMutations performs the required edge expansions and forwards the results to the worker to perform the mutations.
AssignUids tries to assign unique ids to each identity in the subjects and objects in the format of _:xxx.
ProcessGraph processes the SubGraph instance accumulating result for the query from different instances.
StripBlankNode returns a copy of the map where all the keys have the blank node prefix removed.
ToDirectedEdges converts the dql.Mutation input into a set of directed edges.
ToJson converts the list of subgraph into a JSON response by calling toFastJSON.
ToRDF converts the given subgraph list into rdf format.
ToSubGraph converts the GraphQuery into the pb.SubGraph instance type.
UidsToHex converts the new UIDs to hex string.

# Constants

DebugKey is the key used to toggle debug mode.

# Variables

ErrEmptyVal is returned when a value is empty.
ErrWrongAgg is returned when value aggregation is attempted in the root level of a query.

# Structs

CascadeArgs stores the arguments needed to process @cascade directive.
ExecutionResult holds the result of running a query.
Extensions represents the extra information appended to query results.
Function holds the information about dql functions.
Latency is used to keep track of the latency involved in parsing and processing the query.
Request wraps the state that is used when executing query.
SubGraph is the way to represent data.

# Type aliases

ContextKey is used to set options in the context object.