We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f812cf + 4a519e5 commit dff703bCopy full SHA for dff703b
clientv2.go
@@ -256,6 +256,12 @@ func (d *Dgraph) Close() {
256
}
257
258
259
+// GetAPIv2Client returns the apiv2 DgraphClient that is useful for advanced
260
+// cases when grpc API that are not exposed in dgo needs to be used.
261
+func (d *Dgraph) GetAPIv2Client() []apiv2.DgraphClient {
262
+ return d.dcv2
263
+}
264
+
265
// signInUser logs the user in using the provided username and password.
266
func (d *Dgraph) signInUser(ctx context.Context, username, password string) error {
267
if d.useV1 {
0 commit comments