If have a schema "Like" that has relations to User Schema (user_id) and Post Schema (object_id). How can I query for the "Like" nodes that have user_id = (some_uid)
and object_id = (some_uid)
.
I am using dgraph-io/dgraph-js.
User Schema Post Schema Like Schema
uid uid uid
first_name type object_id (maps post)
last_name content user_id (maps user)
email title
created_at