ModelRefImpl.refersTo

Returns true if other's primary key is equal to the foreign key stored in this ModelRef instance. Does not check any other fields. Does not require this ModelRef to be populated.

  1. bool refersTo(TModel other)
    struct ModelRefImpl(alias id, _TModel, _TSelect)
    const
    bool
    refersTo
    ()
  2. bool refersTo(TSelect other)

Meta