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

Method Present

values.go:132–134  ·  view source on GitHub ↗

Present returns true if a value is present. It indicates that the underlying DynamoDB AttributeValue has a data in any one of its fields. If you already know the type of your value, you can call the convenience method (like String() or Int()) or you can retrieve the underlying dynamodb.AttributeValu

()

Source from the content-addressed store, hash-verified

130// or you can retrieve the underlying dynamodb.AttributeValue struct with ToAV and perform
131// your down decoding.
132func (rv ReturnValue) Present() bool {
133 return !rv.Empty()
134}
135
136// Equals checks equality by comparing the underlying dynamodb.AttributeValues. If they
137// both hold the same value, as indicated by the rules of reflect.DeepEqual, Equals will return true.

Callers 6

TestListIndexBasedCRUDFunction · 0.80
TestAtomicHashOpsFunction · 0.80
TestBasicFunction · 0.80
TestGETSETFunction · 0.80
TestAtomicOpsFunction · 0.80
TestValuesFunction · 0.80

Calls 1

EmptyMethod · 0.95

Tested by 6

TestListIndexBasedCRUDFunction · 0.64
TestAtomicHashOpsFunction · 0.64
TestBasicFunction · 0.64
TestGETSETFunction · 0.64
TestAtomicOpsFunction · 0.64
TestValuesFunction · 0.64