Populate Pointer field

How can I populate the pointer field? When Iโ€™m querying the data, Iโ€™m getting only __type, className and objectId ?

can you give an example of what you want to do?

that should be enough to create a pointer object or to query that table for that object id

Sure,

Below is the code where Iโ€™m saving category as Pointer in the Project Class
save

When querying, this is the aggregation function that I wore:

and in the response I donโ€™t get all the fields of the category.

response

that is what you get by default for a pointer.
for a normal query you have to use query.include for that specific field, I donโ€™t know if it also works with pipelines

Yes, works with normal query but not with aggregate / pipeline