Sleeky.Entity.Dsl (sleeky v0.0.3)

The Dsl to build schemas by defining entities, their attributes and their relations to other entities

Summary

Functions

Link to this macro

action(name, block \\ nil)

(macro)
Link to this macro

attribute(name, kind, opts \\ nil)

(macro)
Link to this macro

belongs_to(name, opts \\ nil)

(macro)
Link to this macro

has_many(name, opts \\ nil)

(macro)
Link to this macro

immutable()

(macro)
Link to this macro

key(fields, opts \\ [])

(macro)
Link to this macro

slug(fields, opts \\ nil)

(macro)
Link to this macro

unique(fields, opts \\ [])

(macro)