You pretty much can only do what you want right now with a custom mutation. This is IMHO the biggest missing feature with DGraph.
J