View Source Ecto.Adapters.DynamoDB.DynamoDBSet (ecto_adapters_dynamodb v3.5.0)

An Ecto type for handling MapSet, corresponding with DynamoDB's set types. Since ExAws already encodes and decodes MapSet, we only handle casting and validation here.

Summary

Functions

Confirm the type is a MapSet and its elements are of one type, number or binary

Dump as is

Dictates how the type should be treated inside embeds

Check if two terms are semantically equal

Load as is

This type is actually a MapSet

Functions

cast(mapset)

Confirm the type is a MapSet and its elements are of one type, number or binary

dump(mapset)

Dump as is

embed_as(_)

Dictates how the type should be treated inside embeds

equal?(term_a, term_b)

Check if two terms are semantically equal

load(mapset)

Load as is

type()

This type is actually a MapSet