Is there any demo written for multiple schema


(hong) #1

Hello,
I would like to support several kinds of entities. Is there any demo written by java to show the usage of multiple schema?

Please refer to page: https://docs.dgraph.io/howto/#giving-nodes-a-type
The documentation declared that we can specified node type, would you please provide a sample code for creation schema with type ?
Take film , actor, director as example
both film, actor and director could have name, how to diff name of film, name of actor in the schema?

Thank you very much.


(Offirmo) #2

Seems I asked one of the questions you listed. See the answer here: Can't understand doc section "giving nodes a type"


(system) #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.