How to get nodes by some custom id in an array?

To facilitate better answering of questions, if you have a question, please fill in the following info. Otherwise, please delete the template.

I want to store custom ids under my node. For example : Student can enroll many courses but I dont want to store them with full properties. I only want to store their custom ids inside a predicate in student type.
Uploading: image.png…

What I want to do

Please list the high level idea of what you want to do

What I did

Please list the things you have tried.

Dgraph metadata

dgraph version

PASTE THE RESULTS OF dgraph version HERE.

Hi @erdemg

Welcome to the Dgraph forums! We hope you enjoy learning here. Your image didn’t properly upload. Could you try again?