Tane
This module provides some functions to insert seeds.
import Tane
init
|> repo(MyApp.Repo)
|> model(MyApp.User)
|> seed(name: "Bob", email: "bob@black.com")
|> seed(name: "Mary", email: "mary@blue.com")
Summary↑
init() |
model(tane, model_module) |
repo(tane, repo_module) |
seed(tane, row) |
Types ↑
t :: %Tane{model: term, repo: term}
Functions
Specs:
- init :: t
Specs:
Specs:
Specs: