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

Method deleteAction

lists.go:204–211  ·  view source on GitHub ↗
(c Client)

Source from the content-addressed store, hash-verified

202}
203
204func (ln listNode) deleteAction(c Client) dynamodb.TransactWriteItem {
205 return dynamodb.TransactWriteItem{
206 Delete: &dynamodb.Delete{
207 Key: ln.keyAV(c),
208 TableName: aws.String(c.table),
209 },
210 }
211}
212
213func lParseNode(avm map[string]dynamodb.AttributeValue, c Client) (ln listNode) {
214 ln.key = aws.StringValue(avm[c.pk].S)

Callers 2

listPopActionsMethod · 0.80
LREMMethod · 0.80

Calls 2

keyAVMethod · 0.95
StringMethod · 0.45

Tested by

no test coverage detected