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

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

Link to this section Summary

Functions

This is an aggregation function that includes editing a type of app.

This is an aggregation function that includes editing or adding.

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

Show all dependencies.

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

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

Link to this section Functions

Link to this function

change_dependency_type_with_app(app, dependency_type)

View Source
@spec change_dependency_type_with_app(String.t(), String.t()) ::
  {:ok, :change_dependency_type_with_app, map()}
  | {:error, :change_dependency_type_with_app, :dependency, atom() | map()}

This is an aggregation function that includes editing a type of app.

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

Link to this function

create(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_add/1.

@spec create_or_update(map()) :: tuple()

This is an aggregation function that includes editing or adding.

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

Show all dependencies.

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.

See MishkaDeveloperTools.DB.CRUD.crud_get_by_field/2.

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