Inserting nested child list with 2 or more columns without id

Not sure what you mean :confused:

btw another example would be the one below (Facets are like “list”)


{
		"set": [
			{
				"childField": [ {"childField|field1": "aa", "childField|field2": "aa" } ]
             }
 	        	]
}

There is no other way. Dgraph only accepts the specified Data types by design. There is no concept of “column” in a graph DB and there is no way to insert JSON obj into a predicate.

1 Like