ExForger (ExForger v0.1.0) View Source

Documentation for ExForger.

Link to this section Summary

Types

Option for ExForger, can be

Functions

Forge Ecto schema data to database

Link to this section Types

Specs

attribute() :: map()

Specs

ecto_schema() :: module()

Specs

opt() :: keyword()

Option for ExForger, can be:

  • :repo, repo to be used when inserting data to DB
  • :smith, smith to be used when generating data

Link to this section Functions

Link to this function

forge(schema, attributes \\ %{}, opt \\ [])

View Source

Forge Ecto schema data to database