Soundboard.Sound (soundboard v1.7.0)

Sound schema.

Summary

Types

t()

@type t() :: %Soundboard.Sound{
  __meta__: term(),
  description: term(),
  filename: term(),
  id: term(),
  inserted_at: term(),
  source_type: term(),
  tags: term(),
  updated_at: term(),
  url: term(),
  user: term(),
  user_id: term(),
  user_sound_settings: term(),
  volume: term()
}

Functions

by_tag(query \\ __MODULE__, tag_name)

@spec by_tag(Ecto.Queryable.t(), String.t()) :: Ecto.Query.t()

changeset(sound, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

with_tags(query \\ __MODULE__)

@spec with_tags(Ecto.Queryable.t()) :: Ecto.Query.t()