RelativeAttribute refers to an expression and an optional qualifier path.
(id int64, operand Interpretable)
| 223 | |
| 224 | // RelativeAttribute refers to an expression and an optional qualifier path. |
| 225 | func (r *attrFactory) RelativeAttribute(id int64, operand Interpretable) Attribute { |
| 226 | return &relativeAttribute{ |
| 227 | id: id, |
| 228 | operand: adaptToV2(operand), |
| 229 | qualifiers: []Qualifier{}, |
| 230 | adapter: r.adapter, |
| 231 | fac: r, |
| 232 | errorOnBadPresenceTest: r.errorOnBadPresenceTest, |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | // NewQualifier is an implementation of the AttributeFactory interface. |
| 237 | func (r *attrFactory) NewQualifier(objType *types.Type, qualID int64, val any, opt bool) (Qualifier, error) { |
nothing calls this directly
no test coverage detected