Otto v0.1.2 API Reference

Modules

It is a behaviour for encryption/decryption modules. If you want to write your own cipher module, you should implement this behaviour

Module to be used in Otto.Query should:

  1. use Otto.Table
  2. implement function schema(:type, field), you can simply use Ecto.Schema

Define an ots table

Exceptions