cyanide v1.0.0 Cyanide View Source
Link to this section Summary
Link to this section Types
Link to this type
encodable_map()
View Sourceencodable_map() :: %{optional(encodable_map_key()) => bson_type()}
Link to this section Functions
Link to this function
encode(document)
View Sourceencode(encodable_map()) :: {:ok, binary()} | {:error, :cannot_bson_encode}