MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / addConditionLessThan

Method addConditionLessThan

redimo.go:140–144  ·  view source on GitHub ↗
(attributeName string, value Value)

Source from the content-addressed store, hash-verified

138}
139
140func (b *expressionBuilder) addConditionLessThan(attributeName string, value Value) {
141 valueName := "cval" + strconv.Itoa(len(b.conditions))
142 b.condition(fmt.Sprintf("#%v < :%v", attributeName, valueName), attributeName)
143 b.values[valueName] = value.ToAV()
144}
145
146func (b *expressionBuilder) addConditionLessThanOrEqualTo(attributeName string, value Value) {
147 valueName := "cval" + strconv.Itoa(len(b.conditions))

Callers 1

Calls 2

conditionMethod · 0.95
ToAVMethod · 0.65

Tested by

no test coverage detected