EctoMySQLExtras behaviour (Ecto MySQL Extras v0.1.0) View Source

Documentation for EctoMySQLExtras.

Link to this section Summary

Link to this section Types

Specs

repo() :: module() | {module(), node()}

Link to this section Callbacks

Specs

info() :: %{
  :title => String.t(),
  :columns => [%{name: atom(), type: atom()}],
  optional(:order_by) => [{atom(), :ASC | :DESC}],
  optional(:args) => [atom()]
}

Link to this section Functions

Link to this function

index_size(repo, opts \\ [])

View Source

Specs

index_size(atom(), keyword()) :: :ok | MyXQL.Result.t()
Link to this function

plugins(repo, opts \\ [])

View Source

Specs

plugins(atom(), keyword()) :: :ok | MyXQL.Result.t()

Specs

queries(repo()) :: map()
Link to this function

query(query_name, repo, opts \\ [])

View Source

Specs

query(atom(), repo(), keyword()) :: :ok | MyXQL.Result.t()
Link to this function

table_indexes_size(repo, opts \\ [])

View Source

Specs

table_indexes_size(atom(), keyword()) :: :ok | MyXQL.Result.t()
Link to this function

table_size(repo, opts \\ [])

View Source

Specs

table_size(atom(), keyword()) :: :ok | MyXQL.Result.t()
Link to this function

total_index_size(repo, opts \\ [])

View Source

Specs

total_index_size(atom(), keyword()) :: :ok | MyXQL.Result.t()
Link to this function

total_table_size(repo, opts \\ [])

View Source

Specs

total_table_size(atom(), keyword()) :: :ok | MyXQL.Result.t()