servicex_matching v0.0.1 ServicexMatching.Tags
The Tags context.
Link to this section Summary
Functions
Returns an %Ecto.Changeset{} for tracking tag changes
Creates a tag
Returns the list of tags
Link to this section Functions
Link to this function
change_tag(tag)
Returns an %Ecto.Changeset{} for tracking tag changes.
Examples
iex> change_tag(tag)
%Ecto.Changeset{source: %Tag{}}
Link to this function
create_tag(attrs \\ %{})
Creates a tag.
Examples
iex> create_tag(%{field: value})
{:ok, %Tag{}}
iex> create_tag(%{field: bad_value})
{:error, %Ecto.Changeset{}}
Link to this function
get_tag_by_label(label)
Link to this function
list_tags()
Returns the list of tags.
Examples
iex> list_tags()
[%Tag{}, ...]
Link to this function
merge_tag(label)