ratchet_wrench v0.0.1 RatchetWrench.Model
Define struct module of record in database.
Examples
defmodule Data do
use RatchetWrench.Model
schema do
attributes id: {"STRING", nil},
string: {"STRING", ""},
bool: {"BOOL", nil },
int: {"INT64", nil},
float: {"FLOAT64", nil},
date: {"DATE", nil},
time_stamp: {"TIMESTAMP", nil}
end
end