# Documentation

**URL:** https://discuss.dgraph.io/c/docs/49.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [About the Documentation category](https://discuss.dgraph.io/t/about-the-documentation-category/9658)

<div class="topic-metadata">

**Author:** [@gja](https://discuss.dgraph.io/u/gja)\
**Replies:** 0

</div>

Posts in this category are automatically created from documentation pages at https://dgraph.io/docs

---

## [Release information, future and past](https://discuss.dgraph.io/t/release-information-future-and-past/19475)

<div class="topic-metadata">

**Author:** [@markushedlund](https://discuss.dgraph.io/u/markushedlund)\
**Replies:** 5\
**Last updated:** [March 9, 2025, 2:49pm UTC](https://discuss.dgraph.io/t/release-information-future-and-past/19475 "2025-03-09T14:49:10Z")

</div>

According to Dgraph Releases, “The latest Dgraph release is the v23.1 series”. I was trying to find information about planned releases or a roadmap.

---

## [How to delete a schema type using json](https://discuss.dgraph.io/t/how-to-delete-a-schema-type-using-json/19645)

<div class="topic-metadata">

**Author:** [@reasley](https://discuss.dgraph.io/u/reasley)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 4:52pm UTC](https://discuss.dgraph.io/t/how-to-delete-a-schema-type-using-json/19645 "2024-12-11T16:52:37Z")

</div>

Is it possible to delete a schema type and/or predicate using json and running a mutation? The only thing I have been able to find so far is using a mutation to delete a node and data but not a type or predicate. The d…

---

## [I can't get the predicate argument](https://discuss.dgraph.io/t/i-cant-get-the-predicate-argument/19617)

<div class="topic-metadata">

**Author:** [@djmastov](https://discuss.dgraph.io/u/djmastov)\
**Replies:** 5\
**Last updated:** [November 27, 2024, 2:48pm UTC](https://discuss.dgraph.io/t/i-cant-get-the-predicate-argument/19617 "2024-11-27T14:48:36Z")

</div>

inserting the data uid(contact\_{idx}) \<uuid\> "{contact\_user\["profile\_uuid"\].hex}" . uid(contact\_{idx}) \<is\_shadow\_banned\> "{int(contact\_user\["is\_shadow\_banned"\])}" . uid(contact\_{idx}) \<is\_blocked\> "{int(contact\_user\["i…

---

## [Jemalloc missing from docker container?](https://discuss.dgraph.io/t/jemalloc-missing-from-docker-container/19532)

<div class="topic-metadata">

**Author:** [@raddi](https://discuss.dgraph.io/u/raddi)\
**Replies:** 9\
**Last updated:** [September 19, 2024, 7:56pm UTC](https://discuss.dgraph.io/t/jemalloc-missing-from-docker-container/19532 "2024-09-19T19:56:01Z")

</div>

Hi, I tried compiling dgraph from the source and I have the jemalloc dependency being built in /usr/local/lib. When I exec into the dgraph docker container (the official 24.0.0 image), the jemalloc library is missing, ho…

---

## [How to create edge facets in JSON mutation request](https://discuss.dgraph.io/t/how-to-create-edge-facets-in-json-mutation-request/19511)

<div class="topic-metadata">

**Author:** [@antony](https://discuss.dgraph.io/u/antony)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 8:29am UTC](https://discuss.dgraph.io/t/how-to-create-edge-facets-in-json-mutation-request/19511 "2024-08-20T08:29:15Z")

</div>

could anyone please help me with JSON request for mutation along with adding edge facets. example : { "set": \[ { "uid": "0x17", "accountNumber": "110011", …

---

## [Docs are down](https://discuss.dgraph.io/t/docs-are-down/19512)

<div class="topic-metadata">

**Author:** [@adriangalilea](https://discuss.dgraph.io/u/adriangalilea)\
**Replies:** 1\
**Last updated:** [August 11, 2024, 8:53pm UTC](https://discuss.dgraph.io/t/docs-are-down/19512 "2024-08-11T20:53:53Z")

</div>

https://dgraph.io/docs gives a 404

---

## [How do I Alpha shrink](https://discuss.dgraph.io/t/how-do-i-alpha-shrink/19485)

<div class="topic-metadata">

**Author:** [@Effie](https://discuss.dgraph.io/u/Effie)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 4:15am UTC](https://discuss.dgraph.io/t/how-do-i-alpha-shrink/19485 "2024-08-02T04:15:51Z")

</div>

My environment configuration: 3 zero nodes, 9 Alpha nodes, 3 replicas, now 3 shards, eks environment My requirements: Shrink Alpha nodes from 9 to 6 and shards to 2 The project I carried out: Directly change the Alp…

---

## [How to ingest nodes and create forward and reverse](https://discuss.dgraph.io/t/how-to-ingest-nodes-and-create-forward-and-reverse/19411)

<div class="topic-metadata">

**Author:** [@tahseen](https://discuss.dgraph.io/u/tahseen)\
**Replies:** 1\
**Last updated:** [July 7, 2024, 5:04pm UTC](https://discuss.dgraph.io/t/how-to-ingest-nodes-and-create-forward-and-reverse/19411 "2024-07-07T17:04:39Z")

</div>

Hello everyone, I am currently researching graph database solutions for a large dataset, approximately 1TB. The data model includes entities such as: Schools Schools have classes Classes have subjects Class…

---

## [Can't return result from dgraph](https://discuss.dgraph.io/t/cant-return-result-from-dgraph/19407)

<div class="topic-metadata">

**Author:** [@lock](https://discuss.dgraph.io/u/lock)\
**Replies:** 0\
**Last updated:** [July 4, 2024, 2:13am UTC](https://discuss.dgraph.io/t/cant-return-result-from-dgraph/19407 "2024-07-04T02:13:59Z")

</div>

Dgraph version : v22.0.2 zero log alpha log

---

## [How to specify a cascade parameter that is within a fragment?](https://discuss.dgraph.io/t/how-to-specify-a-cascade-parameter-that-is-within-a-fragment/19351)

<div class="topic-metadata">

**Author:** [@oriong](https://discuss.dgraph.io/u/oriong)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 7:01pm UTC](https://discuss.dgraph.io/t/how-to-specify-a-cascade-parameter-that-is-within-a-fragment/19351 "2024-06-13T19:01:18Z")

</div>

Here’s my situation: I have a type A, and a fragment type that implements A. In the fragment type, there is a field X with a filter. So I want to query from type A, and only get entries in which field X complies with the…

---

## [How to filter result after groupby](https://discuss.dgraph.io/t/how-to-filter-result-after-groupby/19165)

<div class="topic-metadata">

**Author:** [@lock](https://discuss.dgraph.io/u/lock)\
**Replies:** 1\
**Last updated:** [January 20, 2024, 1:21am UTC](https://discuss.dgraph.io/t/how-to-filter-result-after-groupby/19165 "2024-01-20T01:21:31Z")

</div>

eg: { result(func: type(Person)) @groupby(age){ count(uid) } } i want to filter count(age) \> 5

---

## [Issues with tls cluster settings](https://discuss.dgraph.io/t/issues-with-tls-cluster-settings/19086)

<div class="topic-metadata">

**Author:** [@cosson](https://discuss.dgraph.io/u/cosson)\
**Replies:** 0\
**Last updated:** [November 28, 2023, 1:20am UTC](https://discuss.dgraph.io/t/issues-with-tls-cluster-settings/19086 "2023-11-28T01:20:52Z")

</div>

I have two servers, do I need to generate tls on both servers, or do I just need to generate and copy it on one server

---

## [Dgrqaph community version encountered an error using ACL](https://discuss.dgraph.io/t/dgrqaph-community-version-encountered-an-error-using-acl/19076)

<div class="topic-metadata">

**Author:** [@cosson](https://discuss.dgraph.io/u/cosson)\
**Replies:** 0\
**Last updated:** [November 24, 2023, 3:45am UTC](https://discuss.dgraph.io/t/dgrqaph-community-version-encountered-an-error-using-acl/19076 "2023-11-24T03:45:34Z")

</div>

Dgrqaph community version encountered an error using ACL: An error occurred after running dgrqaph for one day,Require password modification to use. errors":\[ (“message”:“resolving login failed because invalid username …

---

## [Can sum only calculate the value of count](https://discuss.dgraph.io/t/can-sum-only-calculate-the-value-of-count/19011)

<div class="topic-metadata">

**Author:** [@lock](https://discuss.dgraph.io/u/lock)\
**Replies:** 4\
**Last updated:** [November 8, 2023, 10:18am UTC](https://discuss.dgraph.io/t/can-sum-only-calculate-the-value-of-count/19011 "2023-11-08T10:18:43Z")

</div>

I want to query and calculate the cumulative sum of a certain predicate，for example, I want to obtain the age and。 { result(func: type(Person)){ age } }

---

## [GraphQL using JWT from Clerk.com](https://discuss.dgraph.io/t/graphql-using-jwt-from-clerk-com/18934)

<div class="topic-metadata">

**Author:** [@Raphael](https://discuss.dgraph.io/u/Raphael)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 2:23am UTC](https://discuss.dgraph.io/t/graphql-using-jwt-from-clerk-com/18934 "2023-09-22T02:23:54Z")

</div>

Have added an example of configuration of Dgraph.Authorization to work with Clerk.com as an authentication provider. In Handle JWT Token - GraphQL. We can add more examples in the doc: let us know which auth provider yo…

---

## [GraphQL subscription update](https://discuss.dgraph.io/t/graphql-subscription-update/18933)

<div class="topic-metadata">

**Author:** [@Raphael](https://discuss.dgraph.io/u/Raphael)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 1:10am UTC](https://discuss.dgraph.io/t/graphql-subscription-update/18933 "2023-09-22T01:10:38Z")

</div>

Have added details on how to set up GraphQL subscriptions with URQL client in GraphQL Subscriptions - GraphQL with some snippets of a React app. We are still using the old ‘subscriptions-transport-ws’ subprotocol. If s…

---

## [Zion (v21.12) Documentation and Setting Up a Lambda Server](https://discuss.dgraph.io/t/zion-v21-12-documentation-and-setting-up-a-lambda-server/16396)

<div class="topic-metadata">

**Author:** [@Viany\_Manuel](https://discuss.dgraph.io/u/Viany_Manuel)\
**Replies:** 5\
**Last updated:** [August 25, 2023, 7:35pm UTC](https://discuss.dgraph.io/t/zion-v21-12-documentation-and-setting-up-a-lambda-server/16396 "2023-08-25T19:35:21Z")

</div>

As the heading suggests, is the documentation updated for Zion? Because I have been looking for an updated one to implement a lambda server, but I can’t seem to find it. Also, is it still possible to implement a differen…

---

## [Are introspection queries protected/protectable?](https://discuss.dgraph.io/t/are-introspection-queries-protected-protectable/18495)

<div class="topic-metadata">

**Author:** [@BenW](https://discuss.dgraph.io/u/BenW)\
**Replies:** 2\
**Last updated:** [August 17, 2023, 10:24am UTC](https://discuss.dgraph.io/t/are-introspection-queries-protected-protectable/18495 "2023-08-17T10:24:43Z")

</div>

https://dgraph.io/docs/learn/developer/react/graphql/graphql-operations/#introspection i.e. Can I configure Dgraph to disallow introspection queries from the outside, i.e. I only want introspection to be allowed when us…

---

## [Cluster Setup - Deploy](https://discuss.dgraph.io/t/cluster-setup-deploy/9885)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [June 24, 2023, 1:39pm UTC](https://discuss.dgraph.io/t/cluster-setup-deploy/9885 "2023-06-24T13:39:25Z")

</div>

Tip For a single server setup, recommended for new users, please see Get Started page. Understanding Dgraph cluster Dgraph is a truly distributed graph database - not a master-slave replication of universal dataset.…

---

## [Can Dgraph community edition supports ACL?](https://discuss.dgraph.io/t/can-dgraph-community-edition-supports-acl/18701)

<div class="topic-metadata">

**Author:** [@srinivasa\_reddy\_adab](https://discuss.dgraph.io/u/srinivasa_reddy_adab)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 11:23pm UTC](https://discuss.dgraph.io/t/can-dgraph-community-edition-supports-acl/18701 "2023-06-08T23:23:37Z")

</div>

Can Dgraph community edition supports ACL ?, if so how to enable it ?

---

## [Upsert Block and External IDs with JSON Mutation Format](https://discuss.dgraph.io/t/upsert-block-and-external-ids-with-json-mutation-format/15633)

<div class="topic-metadata">

**Author:** [@amytych](https://discuss.dgraph.io/u/amytych)\
**Replies:** 2\
**Last updated:** [May 22, 2023, 5:24am UTC](https://discuss.dgraph.io/t/upsert-block-and-external-ids-with-json-mutation-format/15633 "2023-05-22T05:24:43Z")

</div>

External IDs and Upsert Block explains how to manage external IDs via upsert block and it is very helpful indeed. Examples in this section show only how to perform mutations in RDF triple format. Is it possible to make …

---

## [Improve documentation on default @search argument for String](https://discuss.dgraph.io/t/improve-documentation-on-default-search-argument-for-string/18447)

<div class="topic-metadata">

**Author:** [@dtrckd](https://discuss.dgraph.io/u/dtrckd)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 9:37am UTC](https://discuss.dgraph.io/t/improve-documentation-on-default-search-argument-for-string/18447 "2023-03-31T09:37:58Z")

</div>

Hi, The documentation seems to says that @search directive on String type must have an argument, as the table of the doc here says. That table has no entry for the none argument for String, while there is one for others…

---

## [Get total count in pagination query](https://discuss.dgraph.io/t/get-total-count-in-pagination-query/14683)

<div class="topic-metadata">

**Author:** [@yonghing](https://discuss.dgraph.io/u/yonghing)\
**Replies:** 4\
**Last updated:** [June 22, 2021, 6:41am UTC](https://discuss.dgraph.io/t/get-total-count-in-pagination-query/14683 "2021-06-22T06:41:31Z")

</div>

query MyQuery { queryProduct(first: 10, offset: 0) { productid } // get total count here } Given the example above, let says the total count is 150, I want to implement pagination in my website, 10 products per pag…

---

## [Find path from source nodes to destination node dgraph](https://discuss.dgraph.io/t/find-path-from-source-nodes-to-destination-node-dgraph/18355)

<div class="topic-metadata">

**Author:** [@vaib\_aa](https://discuss.dgraph.io/u/vaib_aa)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 7:58pm UTC](https://discuss.dgraph.io/t/find-path-from-source-nodes-to-destination-node-dgraph/18355 "2023-03-03T19:58:50Z")

</div>

I have to find the shortest path between my supplier and consumer node ,i have to do this for all the suppliers

---

## [Error - "ErrorInvalidRequest"](https://discuss.dgraph.io/t/error-errorinvalidrequest/18266)

<div class="topic-metadata">

**Author:** [@spandanank](https://discuss.dgraph.io/u/spandanank)\
**Replies:** 14\
**Last updated:** [February 21, 2023, 10:46pm UTC](https://discuss.dgraph.io/t/error-errorinvalidrequest/18266 "2023-02-21T22:46:13Z")

</div>

Getting this error for below query { GetDetails(func: eq(UserID, “userid”)) { expand(all) { expand(all) } } } Response: { "errors": \[ { "code": "ErrorInvalidRequest", "message": ": Unable…

---

## [Turn off enterprise features](https://discuss.dgraph.io/t/turn-off-enterprise-features/18241)

<div class="topic-metadata">

**Author:** [@rkozlo](https://discuss.dgraph.io/u/rkozlo)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 8:07am UTC](https://discuss.dgraph.io/t/turn-off-enterprise-features/18241 "2023-02-10T08:07:16Z")

</div>

Hi, want to try dgraph, followed steps from documentation(docker) but it forced me trial enterprise license. Don’t see flag in dgraph zero to run it without enterprise features. What is the way to avoid this? Firstly i…

---

## [Does sorting both predicates and variables have no effect？](https://discuss.dgraph.io/t/does-sorting-both-predicates-and-variables-have-no-effect/18227)

<div class="topic-metadata">

**Author:** [@captain-jack666](https://discuss.dgraph.io/u/captain-jack666)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 8:31pm UTC](https://discuss.dgraph.io/t/does-sorting-both-predicates-and-variables-have-no-effect/18227 "2023-02-01T20:31:16Z")

</div>

Does sorting both predicates and variables have no effect？

---

## [Where does "1-balance" comes from?](https://discuss.dgraph.io/t/where-does-1-balance-comes-from/18178)

<div class="topic-metadata">

**Author:** [@cscetbon](https://discuss.dgraph.io/u/cscetbon)\
**Replies:** 7\
**Last updated:** [January 20, 2023, 5:35pm UTC](https://discuss.dgraph.io/t/where-does-1-balance-comes-from/18178 "2023-01-20T17:35:36Z")

</div>

Hey, I’m reading https://dgraph.io/docs/clients/raw-http/ and after the mutation set { \<0x1\> \<balance\> "110" . \<0x1\> \<dgraph.type\> "Balance" . \<0x2\> \<balance\> "60" . \<0x2\> \<dgraph.type\> "Balance" . …

---

## [Yhmm...? Can't understand](https://discuss.dgraph.io/t/yhmm-cant-understand/17918)

<div class="topic-metadata">

**Author:** [@GP\_DR](https://discuss.dgraph.io/u/GP_DR)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 4:41pm UTC](https://discuss.dgraph.io/t/yhmm-cant-understand/17918 "2022-10-31T16:41:55Z")

</div>

Hi there, Today I was interested in graph databases. I started browsing the internet, I came across neo4j, it was the first database of this type, as it turned out to be the most commonly mentioned and well rated. But I…

[Next page](https://discuss.dgraph.io/c/docs/49.md?page=1)
