Tsallaka zuwa abun ciki
Justice Tech School

Referencing Documents

Store the _id of another document.

Example
{ _id: 1, title: "Post", author_id: 7 }
{ _id: 7, name: "Ada" }

Exercise

Link by id.

author_id points to 

Quiz Test

When prefer references?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.