Feature Request - GraphQL - Composite (compound) ID fields - unique / primary #8176
Labels
area/graphql
Issues related to GraphQL support on Dgraph.
community
Issue or PR created by the community.
kind/feature
Something completely new we should consider.
https://discuss.dgraph.io/t/composite-id-fields/13337
https://discuss.dgraph.io/t/support-multiple-unique-fields-in-dgraph-graphql/8512/15
There are 1000 links in the DGraph forum for this, but basically:
We need this SQL equivalent:
ALTER TABLE `Bar` ADD UNIQUE `unique_index`(`user`, `date`);
We need unique values based on two fields at the same time. There are 1000 use cases for this, but it is a necessity in any mature database. There are only work arounds in CERTAIN situations.
J
UPDATE: This issue is already covered in this issue. Just refer there.
The text was updated successfully, but these errors were encountered: