dgraph/standalone:v25.0.0-preview6
.
root
.
Namespace APIs are part of the v2 APIs. The v2 APIs are available in
the dgo/v250
package today. Other SDKs are being updated currently.
CreateNamespace
function.
SetSchema
, RunDQL
or similar functions.
DropNamespace
function.
RenameNamespace
function.
ListNamespaces
function.
dgo/v250
package today. Other
clients are being updated currently.
dgraph://host:port?arguments
with support for the following arguments:
Argument | Value | Description |
---|---|---|
bearertoken | <token> | an access token |
sslmode | disable require verify-ca | TLS option, the default is disable . If verify-ca is set, the TLS certificate configured in the Dgraph cluster must be from a valid certificate authority. |
Open
function with a connection string.
NewClient
function.
NewRoundRobinClient
.
Open
or NewClient
to connect to a Hypermode Graph.
Hypermode automatically handles load balancing in multi-node clusters.
Using Open
with a connection string:
NewClient
:
SetSchema
function.
RunDQL
function.
RunDQL
function.
RunDQLWithVars
.
BestEffort
query, use the same RunDQL
function with TxnOption
.
ReadOnly
query, use the same RunDQL
function with TxnOption
.
TxnOption
.
RunDQL
function also allows you to run upserts as well.
@if
directive.
DropAllNamespaces
function.
mcp
β a server that provides tools and data from your Dgraph clustermcp-ro
β a server that provides tools and data from your Dgraph cluster in
read-only modeGet-Schema
β fetch the schema of your clusterRun-Query
β run a query on your clusterRun-Mutation
β run a mutation on your clusterAlter-Schema
β modify the schema of your clusterGet-Common-Queries
β provides reference queries to aide in query syntax