Ash.Resource.Attribute (ash v1.37.2) View Source

Represents an attribute on a resource

Link to this section Summary

Link to this section Types

Specs

t() :: %Ash.Resource.Attribute{
  allow_nil?: term(),
  constraints: Keyword.t(),
  default: (() -> term()),
  description: term(),
  generated?: term(),
  name: atom(),
  primary_key?: boolean(),
  private?: boolean(),
  sensitive?: boolean(),
  type: Ash.Type.t(),
  update_default: (() -> term()) | (Ash.Resource.record() -> term()),
  writable?: boolean()
}

Link to this section Functions

Link to this function

create_timestamp_schema()

View Source
Link to this function

integer_primary_key_schema()

View Source
Link to this function

update_timestamp_schema()

View Source
Link to this function

uuid_primary_key_schema()

View Source