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

Struct ReturnValue

values.go:71–73  ·  view source on GitHub ↗

ReturnValue holds a value returned by DynamoDB. There are convenience methods used to coerce the held value into common types, but you can also retrieve the raw dynamodb.AttributeValue by calling ToAV if you would like to do custom decoding.

Source from the content-addressed store, hash-verified

69// ReturnValue holds a value returned by DynamoDB. There are convenience methods used to coerce the held value into common types,
70// but you can also retrieve the raw dynamodb.AttributeValue by calling ToAV if you would like to do custom decoding.
71type ReturnValue struct {
72 av dynamodb.AttributeValue
73}
74
75// ToAV returns the underlying dynamodb.AttributeValue, allow custom deserialization.
76func (rv ReturnValue) ToAV() dynamodb.AttributeValue {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected