View Source Unreal.Table (Unreal v0.2.0)

This macro allows you to use a table directly. Adds &insert/2, &update/2, &get/1, &change/2, &modify/2 and &delete/1 functions.

defmodule Users do
  # name: the name of the connection
  # table: table to use
  use Unreal.Table, name: :database, table: "users"
end

Users.get("bob")