View Source Astarte.Core.Mapping (astarte_core v1.2.0)
This module handles Interface Mappings using Ecto Changesets
Summary
Functions
Deserializes a %Mapping{}
from db_result
.
db_result
can be a keyword list or a map.
Check if token is a placeholder.
Removes all placeholders from an endpoint.
Functions
Deserializes a %Mapping{}
from db_result
.
db_result
can be a keyword list or a map.
Returns the %Mapping{}
on success,
raises on failure
Check if token is a placeholder.
Removes all placeholders from an endpoint.