View Source Bonfire.Tag.Tagged (Bonfire v0.9.11-social-beta.6)
A mixin used for associating tags with an object
Summary
Functions
Get the latest tag added to a thing
List the things tagged with a certain tag
List the tags of a thing
List by type of tagged thing
Types
@type t() :: %Bonfire.Tag.Tagged{ __meta__: Ecto.Schema.Metadata.t(), activity: term(), count: term(), id: Needle.UID.t() | nil, inserted_at: term(), pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil, tag: term(), tag_id: term(), updated_at: term() }
Functions
Get the latest tag added to a thing
List the things tagged with a certain tag
List the tags of a thing
List by type of tagged thing