servicex_matching v0.0.1 ServicexMatching.Joiners

The Joiner context.

Link to this section Summary

Link to this section Functions

Link to this function change_record(record)

Returns an %Ecto.Changeset{} for tracking record changes.

Examples

iex> change_record(record)
%Ecto.Changeset{source: %Record{}}
Link to this function create_joiner(result, attrs)
Link to this function create_my_record(result, user_id, attrs \\ %{})
Link to this function create_record(attrs \\ %{})

Creates a record.

Examples

iex> create_record(%{field: value})
{:ok, %Record{}}

iex> create_record(%{field: bad_value})
{:error, %Ecto.Changeset{}}
Link to this function create_record_tag(attrs \\ %{})

Creates a record_tag.

Examples

iex> create_record_tag(%{field: value})
{:ok, %RecordTag{}}

iex> create_record_tag(%{field: bad_value})
{:error, %Ecto.Changeset{}}
Link to this function create_user_profile_tag(attrs \\ %{})

Creates a user_profile_tag.

Examples

iex> create_user_profile_tag(%{field: value})
{:ok, %UserProfileTag{}}

iex> create_user_profile_tag(%{field: bad_value})
{:error, %Ecto.Changeset{}}
Link to this function delete_record_tag(record_tag)

Deletes a RecordTag.

Examples

iex> delete_record_tag(record_tag)
{:ok, %RecordTag{}}

iex> delete_record_tag(record_tag)
{:error, %Ecto.Changeset{}}
Link to this function delete_user_profile_tag(user_profile_tag)

Deletes a UserProfileTag.

Examples

iex> delete_user_profile_tag(user_profile_tag)
{:ok, %UserProfileTag{}}

iex> delete_user_profile_tag(user_profile_tag)
{:error, %Ecto.Changeset{}}
Link to this function get_record_tag_by_record_id_with_lock(result, record_id)

Returns an %Ecto.Changeset{} for tracking user_profile_tag changes.

Examples

iex> change_user_profile_tag(user_profile_tag)
%Ecto.Changeset{source: %UserProfileTag{}}
Link to this function get_user_profile_tag_by_user_profile_id_with_lock(result, user_profile_id)
Link to this function merge_record_tag(record, tags)
Link to this function merge_record_tags(record, tags)
Link to this function merge_tags(user_profile, tags)
Link to this function merge_user_profile_tags(user_profile, tags)
Link to this function preload_record(record)
Link to this function update_joiner(result, user_profile, attrs)
Link to this function update_my_record(result, record, attrs \\ %{})
Link to this function update_record(record, attrs)

Updates a record.

Examples

iex> update_record(record, %{field: new_value})
{:ok, %Record{}}

iex> update_record(record, %{field: bad_value})
{:error, %Ecto.Changeset{}}