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

Method keyAV

sets.go:23–29  ·  view source on GitHub ↗
(c Client)

Source from the content-addressed store, hash-verified

21}
22
23func (sm setMember) keyAV(c Client) map[string]dynamodb.AttributeValue {
24 av := make(map[string]dynamodb.AttributeValue)
25 av[c.pk] = StringValue{sm.pk}.ToAV()
26 av[c.sk] = StringValue{sm.sk}.ToAV()
27
28 return av
29}
30
31// SADD adds the given string members to the set at the given key.
32//

Callers 4

toAVMethod · 0.95
SISMEMBERMethod · 0.45
SMOVEMethod · 0.45
SREMMethod · 0.45

Calls 1

ToAVMethod · 0.65

Tested by

no test coverage detected