A function that has the ability to fetch an instance of a model. This is the backbone that provides the "ModelReference" functionality. This is useful downstream for building ORMs and other systems that require hydrating "foreign key" models.
The model type that is being fetched.
The primary key of the desired data.
A function that has the ability to fetch an instance of a model. This is the backbone that provides the "ModelReference" functionality. This is useful downstream for building ORMs and other systems that require hydrating "foreign key" models.