Needle.Table (Bonfire v1.0.0-social-rc.2.13)

View Source

One Table to rule them all. A record of a table participating in the pointers abstraction - mandatory if participating.

Summary

Types

t()

@type t() :: %Needle.Table{
  __meta__: Ecto.Schema.Metadata.t(),
  id: Needle.UID.t() | nil,
  pointed: any() | nil,
  schema: any() | nil,
  table: String.t() | nil
}

Functions

delete(struct, key)

get(struct, key, default \\ nil)

put(struct, key, val)