()
| 104 | } |
| 105 | |
| 106 | func (b *expressionBuilder) expressionAttributeValues() map[string]dynamodb.AttributeValue { |
| 107 | if len(b.values) == 0 { |
| 108 | return nil |
| 109 | } |
| 110 | |
| 111 | out := make(map[string]dynamodb.AttributeValue) |
| 112 | |
| 113 | for k, v := range b.values { |
| 114 | out[":"+k] = v |
| 115 | } |
| 116 | |
| 117 | return out |
| 118 | } |
| 119 | |
| 120 | func (b *expressionBuilder) updateExpression() *string { |
| 121 | if len(b.clauses) == 0 { |
no outgoing calls
no test coverage detected