Dymo v0.1.0 Dymo.Tag View Source

This module provides functionality dedicated to handling user data.

Link to this section Summary

Types

t()

The Dymo.Tag.t() schema defines simple tags identified by a unique label

Functions

This function gets an existing tag using its label. If the tag doesn’t exit, it is atomically created

Link to this section Types

Link to this type t() View Source
t() :: %Dymo.Tag{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  label: term(),
  updated_at: term()
}

The Dymo.Tag.t() schema defines simple tags identified by a unique label.

Link to this section Functions

Link to this function find_or_create!(labels) View Source
find_or_create!(String.t() | [String.t()]) :: t()

This function gets an existing tag using its label. If the tag doesn’t exit, it is atomically created.