Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

referencing

storing an id that points at a document in another collection.

A little more detail

Referencing keeps an authorId on a note, or a pair of ids in an enrollment document. Each side stays small, and many-to-many relationships have a place to live. You pay a second query to load the related document. The id alone is not the related data.

See it in practice

These lessons pair the idea with examples you can change and run.