Defines the structure of a simple lookup
The name of the object reference field of the model that will be looked up. Only the immediate fields of the model can be used in simple lookups. If you would like to look up for a sub-object field then you need to use that respective sub-model as the reference point of your lookups. The simple lookup basically runs the following query:
this.field == lookup._id, meaning joins the looked up model with the current one by matching the value of the field with the _id of the looked up model.
Generated using TypeDoc