ExAws.Dynamo v2.3.2 ExAws.Dynamo.Encoder View Source
Takes an elixir value and converts it into a dynamo style map.
MapSet.new [1,2,3] |> Elixir.ExAws.Dynamo.Encoder.encode
#=> %{"NS" => ["1", "2", "3"]}
MapSet.new ["A","B","C"] |> Elixir.ExAws.Dynamo.Encoder.encode
#=> %{"SS" => ["A", "B", "C"]}
"bubba" |> ExAws.Dynamo.Encoder.encode
#=> %{"S" => "bubba"}
This is handled via the ExAws.Dynamo.Encodable protocol.
Link to this section Summary
Link to this section Functions
Link to this function
atom_to_dynamo_type(value) View Source
Link to this function
encode(value) View Source
Link to this function
encode(val, options) View Source
Link to this function
encode!(value, options \\ []) View Source
Link to this function