API Reference Magik v0.11.0

Modules

Documentation for Magik.

Contract helps to define a contract for function call, and do validate contract data with

Provide some basic encrypt/decrypt function

EctoEnum helps to generate enum type and enum helper function.

An Ecto Type to encrypt map before saving to database and decrypt after loading from database. Map data is encode to string before encrypted. So in database, this field must be defined as text field.

An Ecto Type to encrypt text before saving to database and decrypt after loading from database.

ExcelView helps to render Excel content for Elixlsx easier

Provides functions to format value to string

Render a struct to a map with given options

This module provides helpers method to call function depend on condition

Support light paginate the query. does not support counting total item because counting on large table is expensive update: count total if needed

Params provide some helpers method to work with parameters

This module provide some helpers functions that common used with Repo

This is only a specification to define a schema to use with Magik.Params.cast and Magik.Contract.validate

This module provide some helper functions that help to send message to a telegram conversation

Cast data to target type. Much code of this module is borrowed from Ecto.Type

Some helpers function to do validate data