Bytes returns the value as a byte slice. Will be nil if the value is not actually a byte slice.
()
| 106 | |
| 107 | // Bytes returns the value as a byte slice. Will be nil if the value is not actually a byte slice. |
| 108 | func (rv ReturnValue) Bytes() []byte { |
| 109 | return rv.av.B |
| 110 | } |
| 111 | |
| 112 | // Empty returns true if the value is empty or uninitialized. This |
| 113 | // indicates that the underlying DynamoDB operation did not return a value. |