Am wondering how I can implement multiple shopping carts with many items dgraph, please advice.
PS: Am from mysql world.
Have you explored our tour? http://tour.dgraph.io
Applications like this are simple (but needs time work) and everything depends only on the final application. Dgraph’s role is just to record information. In theory you would have to have nodes for every step of the sales process of your application.
A Customer node that links to other billing nodes and links to cart nodes.
A Cart node that is linked to customer and hold links to products. And has properties like "checkout: false, products: [“0x1”, “0x33”] " and so on.
All of these nodes can have a rigid hierarchy in the graph.