Questions tagged [dgraph]

Dgraph is a free, open source graph database that uses a customised version of graphql as a query language. DO NOT USE this tag for general graphql questions nor for other graph DBs.

Dgraph is an open source, scalable, distributed and highly available graph database. It's sharded storage and query processing were specifically designed to minimize the number of network calls. The database server and tools, written in go, are open-sourced and available under AGPL v3.0. The query language is named GraphQL+- and is based on Facebook’s GraphQL.

The clients communicate with the server using Protocol Buffers over gRPC. In the current version (v1.0.11), the available official clients are limited to the languages Go, Java, Javascript and Python.

For more information check following FAQ topics:

Useful links

Related Tags

106 questions
0
votes
1 answer

Load Schema in Dgraph

I can't create type in Dgraph. read https://tour.dgraph.io/master/intro/3/# but not work. pleas help me
0
votes
1 answer

Manifest has unsupported version: (we support )

I am seeing "Manifest has unsupported version: 4 (we support 7 )" on logs after updating my dgraph installation. What should I do? thanks.
Ezequiel Moreno
  • 2,228
  • 22
  • 27
0
votes
2 answers

DGraph simplest mutation using blank nodes

Just started with DGraph and trying to understand a simplest mutation. This is what I have: { set { _:james "jr123" . _:james "crowne_plaza" . } } It created 2 nodes which was verified using: { persons(func:eq(personId,…
user1189332
  • 1,773
  • 4
  • 26
  • 46
0
votes
2 answers

Dgraph in Java. How to run raw string mutation query?

I need do be able to run raw string mutation queries without using of newBuilder(): Gson gson = new Gson(); String json = gson.toJson(newEmployer); Transaction newTransaction = this.dgraphClient.newTransaction(); Mutation mu =…
Alex Kumundzhiev
  • 245
  • 3
  • 10
0
votes
1 answer

Query variables in Dgraph filter

I am trying to use a variables (which is a scalar) in a @filter(ge(...)) call, but I run into an error Given the following query { ua(func: uid(0xfb7f7)) { uid start_ua { sua as index } recorded_in { actions…
bluesummers
  • 11,365
  • 8
  • 72
  • 108
0
votes
1 answer

Dgraph query returning data even if the uid is not present

I was querying dgraph for the user's details, but it's returning an array with one object having the key uid and value as the "uid_string" that I queried for, even if no user exists with that uid. The query: { User(func: uid(0x44)) { uid …
0
votes
2 answers

Dgraph deep filtering

I have a schema : uid . : uid . : int @index(int) . : string @index(fulltext, term, trigram) . : string @index(fulltext, term) . with data { set { _:a1 "A1" . _:a1…
maksim
  • 458
  • 2
  • 6
  • 16
0
votes
1 answer

Dgraph - cannot store emoji

I have an issue when storing emoji in facets in Dgraph database (which store UTF-8 string). It work fine with some but I get a parse error when reading the value for some others: Unable to marshal response For example: that has these…
Maucan
  • 143
  • 1
  • 12
0
votes
1 answer

How to expose dgraph-ratel-public without LoadBalancer in Kubernetes

Whenever I expose a Kubernetes Service as a Load Balancer the external-IP is in forever pending state. So, I am not able to access the dgraph ratle through my browser. I needed to expose my Service through NodePort so that I can access it with…
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
0
votes
1 answer

dgraph helm deployment on gcloud / kubernetes no longer works: While applying proposal: Invalid address

task: I am trying to deploy dgraph (one zero and one alpha) to kubernetes (google cloud) via helm chart. problem: it used to work, now it no longer does. I do not see what is different. The specific error is best described in the logs below.…
0
votes
2 answers

how to access dgraph ratel

I've installed a highly available dgraph cluster using kubernetes. Now I want to know how to access the dgraph ratel UI. I cannot access it by using master's-ip:8000. In simple words, I need the dgraph-ratel's URL.
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
0
votes
1 answer

DGraph-js, how to run a schema query?

I'm new to Dgraph and am bashing my head against a simple issue with dgraph-js. I've even pored through the github sourcecode but I've clearly missed what I'm looking for. Within the dgraph-ratel interface I can run this query: schema(pred: [name])…
Michael Beeson
  • 2,840
  • 2
  • 17
  • 25
0
votes
1 answer

DGraph: Getting JSON Syntax Exception while retrieving Linked data

I am a newbie to DGraph. So, I was experimenting with dgraph4j samples and modified it a little. In the example I am trying to query on following data: { "all":[ { "name":"Alice", "friend":{ "name":"Bob" …
himanshuIIITian
  • 5,985
  • 6
  • 50
  • 70
0
votes
1 answer

Mapping Graphql to Grahpql+- (Dgraph version)

I am using Dgraph and Postgres as my databases. I am using elixir with ecto to handle the graphql implementation from the frontend to the postgres db. I now need to map graphql queries to dgraph's version of graphql (graphql+-) so that I can use the…
Errol Hassall
  • 398
  • 3
  • 16
0
votes
1 answer

What is the easiest method to import data into DGraph?

What is the easiest way to get a large amount of data into DGraph and how do I go about doing this?
Errol Hassall
  • 398
  • 3
  • 16