Yes. It is call “UID Leasing”. More about Dgraph Zero - Deploy
e.g. with /assign?what=uids&num=100 you can allocate 100 UIDs for your use case.
You can also use the Admin GraphQL API Administrative API - GraphQL
"""
Lease UIDs, Timestamps or Namespace IDs in advance.
"""
assign(input: AssignInput!): AssignPayload
--------------------------------------------
type AssignedIds {
"""
The first UID, TIMESTAMP or NAMESPACE_ID assigned.
"""
startId: UInt64
"""
The last UID, TIMESTAMP or NAMESPACE_ID assigned.
"""
endId: UInt64
"""
TIMESTAMP for read-only transactions.
"""
readOnly: UInt64
}
Inverse is a GraphQL feature. Not DQL. In DQL you have reverse.
https://dgraph.io/docs/mutations/reverse-edges/
https://dgraph.io/docs/query-language/schema/#reverse-edges
Remove this. It is not supported.
Cuz it is not supported.
Cheers.