View Source MishkaInstaller.Activity (Mishka Installer v0.0.4)

This module is for communication with Activities table and has essential functions such as adding, editing, deleting, and displaying. This module is related to module MishkaInstaller.Database.ActivitySchema.

Link to this section Summary

Functions

This function helps to save the latest activities in different nodes without waiting for a response.

This function helps to save the latest activities in different nodes within waiting for a response.

Callback implementation for MishkaDeveloperTools.DB.CRUD.delete/1.

Callback implementation for MishkaDeveloperTools.DB.CRUD.edit/1.

If you want to get the latest changes from the Activities table of your database, this function can help you to be subscribed.

Link to this section Functions

Callback implementation for MishkaDeveloperTools.DB.CRUD.create/1.

Link to this function

create_activity_by_start_child(params, extra \\ %{})

View Source
@spec create_activity_by_start_child(map(), map()) ::
  :ignore | {:error, any()} | {:ok, pid()} | {:ok, pid(), any()}

This function helps to save the latest activities in different nodes without waiting for a response.

Link to this function

create_activity_by_task(params, extra \\ %{})

View Source
@spec create_activity_by_task(map(), map()) :: Task.t()

This function helps to save the latest activities in different nodes within waiting for a response.

Callback implementation for MishkaDeveloperTools.DB.CRUD.delete/1.

Callback implementation for MishkaDeveloperTools.DB.CRUD.edit/1.

Link to this function

edit(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_edit/1.

Callback implementation for MishkaDeveloperTools.DB.CRUD.show_by_id/1.

@spec subscribe() :: :ok | {:error, {:already_registered, pid()}}

If you want to get the latest changes from the Activities table of your database, this function can help you to be subscribed.