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

Method updateExpression

redimo.go:120–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120func (b *expressionBuilder) updateExpression() *string {
121 if len(b.clauses) == 0 {
122 return nil
123 }
124
125 clauses := make([]string, 0, len(b.clauses))
126
127 for k, v := range b.clauses {
128 clauses = append(clauses, k+" "+strings.Join(v, ", "))
129 }
130
131 return aws.String(strings.Join(clauses, " "))
132}
133
134func (b *expressionBuilder) addConditionEquality(attributeName string, value Value) {
135 valueName := "cval" + strconv.Itoa(len(b.conditions))

Callers 15

sequenceUpdateActionMethod · 0.80
toPutActionMethod · 0.80
updateDeliveryActionMethod · 0.80
xInitActionMethod · 0.80
XCLAIMMethod · 0.80
GEOADDMethod · 0.80
SETMethod · 0.80
GETSETMethod · 0.80
msetMethod · 0.80
updateBothSidesActionMethod · 0.80
updateSideActionMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected