Astarte.DataAccess.Mappings.fetch_interface_mappings

You're seeing just the function fetch_interface_mappings, go back to Astarte.DataAccess.Mappings module for more information.
Link to this function

fetch_interface_mappings(db_client, interface_id, opts \\ [])

View Source

Specs

fetch_interface_mappings(:cqerl.client(), binary(), keyword()) ::
  {:ok,
   [
     %Astarte.Core.Mapping{
       allow_unset: term(),
       database_retention_policy: term(),
       database_retention_ttl: term(),
       description: term(),
       doc: term(),
       endpoint: term(),
       endpoint_id: term(),
       expiry: term(),
       explicit_timestamp: term(),
       interface_id: term(),
       path: term(),
       reliability: term(),
       retention: term(),
       type: term(),
       value_type: term()
     }
   ]}
  | {:error, atom()}