method
ReferenceOutput.Document
Document returns a detached document when population is present.
Returns
The declared result.
(store.Document, bool)Full signature
func (output ReferenceOutput) Document() (
store.Document,
bool,
)Related types
ReferenceOutputReferenceOutput is the logical read value of a singular relationship. ID is available regardless of whether an authorized document was populated.