View Source Dynamo.Raw (Dynamo v0.2.0)

Wraps a value that is already in DynamoDB attribute-value format so the encoder passes it through untouched.

%Dynamo.Raw{value: %{"B" => Base.encode64(bytes)}}

This is the only way to inject pre-encoded values; plain maps that happen to have keys like "S" or "N" are always treated as user data.

Summary

Functions

Wraps an attribute value, validating that it has exactly one known type tag.

Types

t()

@type t() :: %Dynamo.Raw{value: map()}

Functions

new(value)

@spec new(map()) :: t()

Wraps an attribute value, validating that it has exactly one known type tag.