How to access many to many relation of unpublished object?

I am trying to get many to many relation objects from object_relation_ table . but for unppublished object i am not able to fetch. Can you please let help me here?

How to get relations of objects?

I’m not sure what exactly you are trying to achieve but this might help