View Source Needle.Table (Bonfire v0.9.11-social-beta.6)

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: term(),
  schema: term(),
  table: term()
}

Functions

delete(struct, key)

get(struct, key, default \\ nil)

put(struct, key, val)