RelativeAttribute refers to an expression and an optional qualifier path.
(id int64, operand Interpretable)
| 240 | |
| 241 | // RelativeAttribute refers to an expression and an optional qualifier path. |
| 242 | func (r *attrFactory) RelativeAttribute(id int64, operand Interpretable) Attribute { |
| 243 | return &relativeAttribute{ |
| 244 | id: id, |
| 245 | operand: adaptToV2(operand), |
| 246 | qualifiers: []Qualifier{}, |
| 247 | adapter: r.adapter, |
| 248 | fac: r, |
| 249 | errorOnBadPresenceTest: r.errorOnBadPresenceTest, |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | // NewQualifier is an implementation of the AttributeFactory interface. |
| 254 | func (r *attrFactory) NewQualifier(objType *types.Type, qualID int64, val any, opt bool) (Qualifier, error) { |
nothing calls this directly
no test coverage detected