Returns whether the given QueryMapper.Field represents an association reference that together with the given value
requires conversion to a DBRef object.
Returns whether the given QueryMapper.Field represents an association reference that together with the given value
requires conversion to a DBRef object. We check whether the
type of the given value is compatible with the type of the given document field in order to deal with potential
query field exclusions, since MongoDB uses the int 0 as an indicator for an excluded field.