(attributeName string, value Value)
| 144 | } |
| 145 | |
| 146 | func (b *expressionBuilder) addConditionLessThanOrEqualTo(attributeName string, value Value) { |
| 147 | valueName := "cval" + strconv.Itoa(len(b.conditions)) |
| 148 | b.condition(fmt.Sprintf("#%v <= :%v", attributeName, valueName), attributeName) |
| 149 | b.values[valueName] = value.ToAV() |
| 150 | } |
| 151 | |
| 152 | func (b *expressionBuilder) updateSET(attributeName string, value Value) { |
| 153 | b.SET(fmt.Sprintf("#%v = :%v", attributeName, attributeName), attributeName, value.ToAV()) |