ash
v0.11.0
GUIDES
Modules
Mix Tasks
entrypoint
Ash
Top
Sections
Quick Links
Introduction
Example Resource
Summary
Types
action/0
action_type/0
actor/0
api/0
attribute/0
cardinality_many_relationship/0
cardinality_one_relationship/0
changeset/0
data_layer/0
data_layer_query/0
error/0
filter/0
params/0
primary_key/0
query/0
record/0
relationship/0
relationship_cardinality/0
resource/0
side_loads/0
sort/0
validation/0
Functions
extensions/1
implements_behaviour?/2
Ash.Api
Top
Summary
Functions
resource/2
resources/1
Callbacks
create/2
create!/2
destroy/2
destroy!/2
get/3
get!/3
read/2
read!/2
reload/1
reload!/2
side_load/2
side_load!/2
update/2
update!/2
Ash.Changeset
Top
Sections
Primary Keys
Join Attributes
Summary
Types
t/0
Functions
add_error/2
after_action/2
append_to_relationship/3
apply_attributes/1
before_action/2
change_attribute/3
change_attributes/2
change_new_attribute/3
change_new_attribute_lazy/3
changing_attribute?/2
fetch_change/2
force_change_attribute/3
force_change_attributes/2
get_attribute/2
get_data/2
new/2
remove_from_relationship/3
replace_relationship/3
with_hooks/2
Ash.Query
Top
Summary
Types
t/0
Functions
do_validate_side_load/3
filter/2
limit/2
new/2
offset/2
set_api/2
side_load/2
sort/2
unset/2
validate_side_load/3
type
Ash.Type
Top
Sections
Built in types
Summary
Types
constraints/0
t/0
Functions
apply_constraints/3
ash_type?/1
cast_input/2
cast_stored/2
constraints/1
dump_to_native/2
ecto_type/1
equal?/3
get_type/1
storage_type/1
Callbacks
apply_constraints/2
cast_input/1
cast_stored/1
constraints/0
dump_to_native/1
ecto_type/0
equal?/2
storage_type/0
Ash.Type.Boolean
Top
Ash.Type.Date
Top
Ash.Type.Integer
Top
Ash.Type.String
Top
Summary
Functions
match/1
Ash.Type.Term
Top
Ash.Type.UUID
Top
Ash.Type.UtcDatetime
Top
data_layer
Ash.DataLayer
Top
Summary
Types
feature/0
Functions
can?/2
create/2
custom_filters/1
filter/3
limit/3
offset/3
resource_to_query/1
run_query/2
sort/3
source/1
transact/2
update/2
upsert/2
Callbacks
can?/2
create/2
custom_filters/1
destroy/1
filter/3
in_transaction?/1
limit/3
offset/3
resource_to_query/1
rollback/2
run_query/2
sort/3
source/1
transaction/2
update/2
upsert/2
Ash.DataLayer.Ets
Top
Summary
Functions
ets/1
filter_matches/2
private?/1
Ash.DataLayer.Mnesia
Top
Summary
Functions
mnesia/1
start/1
table/1
authorizer
Ash.Authorizer
Top
Summary
Types
context/0
state/0
Functions
check/3
check_context/2
initial_state/5
strict_check/3
strict_check_context/2
Callbacks
check/2
check_context/1
initial_state/4
strict_check/2
strict_check_context/1
extension
Ash.Dsl.Entity
Top
Summary
Types
t/0
Functions
build/3
describe/2
Ash.Dsl.Extension
Top
Summary
Functions
get_entities/2
get_opt/5
get_opt_config/3
import_mods/1
load/0
run_transformers/3
unimport_mods/1
Callbacks
sections/0
transformers/0
Ash.Dsl.Section
Top
Summary
Types
t/0
Functions
describe/3
resource dsl transformers
Ash.Resource.Transformers.BelongsToAttribute
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Resource.Transformers.BelongsToSourceField
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Resource.Transformers.CachePrimaryKey
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Resource.Transformers.CreateJoinRelationship
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Resource.Transformers.SetPrimaryActions
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Resource.Transformers.SetRelationshipSource
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
resource dsl
Ash.Dsl
Top
Summary
Functions
actions/1
attributes/1
relationships/1
resource/1
validations/1
Ash.Dsl.Attribute
Top
Summary
Functions
attribute/3
Ash.Dsl.BelongsTo
Top
Summary
Functions
belongs_to/3
Ash.Dsl.Create
Top
Summary
Functions
create/2
Ash.Dsl.CreateTimestamp
Top
Summary
Functions
create_timestamp/2
Ash.Dsl.Destroy
Top
Summary
Functions
destroy/2
Ash.Dsl.HasMany
Top
Summary
Functions
has_many/3
Ash.Dsl.HasOne
Top
Summary
Functions
has_one/3
Ash.Dsl.ManyToMany
Top
Summary
Functions
many_to_many/3
Ash.Dsl.Read
Top
Summary
Functions
read/2
Ash.Dsl.Transformer
Top
Summary
Functions
add_entity/3
build_before_after_list/3
build_entity/4
compare/2
get_entities/2
get_option/3
persist/3
replace_entity/4
sort/1
wait_for_transformer/4
Callbacks
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Dsl.Update
Top
Summary
Functions
update/2
Ash.Dsl.UpdateTimestamp
Top
Summary
Functions
update_timestamp/2
Ash.Dsl.Validate
Top
Summary
Functions
validate/2
api dsl transformers
Ash.Api.Transformers.EnsureResourcesCompiled
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Api.Transformers.ValidateManyToManyJoinAttributes
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
Ash.Api.Transformers.ValidateRelatedResourceInclusion
Top
Summary
Functions
before?/1
compile_time_only?/0
Ash.Api.Transformers.ValidateRelationshipAttributes
Top
Summary
Functions
after?/1
before?/1
compile_time_only?/0
transform/2
api dsl
Ash.Api.Dsl
Top
Summary
Functions
resources/1
Ash.Api.Dsl.Resource
Top
Summary
Functions
resource/2
filter predicates
Ash.Filter.Predicate
Top
Summary
Types
comparison/0
predicate/0
t/0
Functions
add_inspect_path/2
compare/2
match?/3
new/5
Callbacks
compare/2
match?/3
new/3
Ash.Filter.Predicate.Eq
Top
Summary
Functions
new/3
Ash.Filter.Predicate.GreaterThan
Top
Summary
Functions
new/3
Ash.Filter.Predicate.In
Top
Summary
Functions
new/3
Ash.Filter.Predicate.LessThan
Top
Summary
Functions
new/3
filter
Ash.Filter
Top
Summary
Functions
add_to_filter/3
add_to_filter!/3
do_map/2
do_reduce/3
filter_expression_by_relationship_path/3
map/2
parse/2
parse!/2
read_requests/2
reduce/3
relationship_filter_request_paths/1
relationship_paths/2
run_other_data_layer_filters/3
strict_subset_of/2
strict_subset_of?/2
Ash.Filter.Expression
Top
Summary
Functions
new/3
Ash.Filter.Not
Top
Summary
Functions
new/1
Ash.Filter.Runtime
Top
Summary
Functions
matches?/4
resource introspection
Ash.Resource
Top
Summary
Functions
action/3
actions/1
attribute/2
attributes/1
authorizers/1
data_layer/1
data_layer_can?/2
data_layer_filters/1
in_transaction?/1
primary_action/2
primary_action!/2
primary_key/1
related/2
relationship/2
relationships/1
resource?/1
rollback/2
transaction/2
validations/1
validations/2
Ash.Resource.Actions.Create
Top
Summary
Types
t/0
Ash.Resource.Actions.Destroy
Top
Summary
Types
t/0
Ash.Resource.Actions.Read
Top
Summary
Types
t/0
Ash.Resource.Actions.Update
Top
Summary
Types
t/0
Ash.Resource.Relationships.BelongsTo
Top
Summary
Types
t/0
Ash.Resource.Relationships.HasMany
Top
Summary
Types
t/0
Ash.Resource.Relationships.HasOne
Top
Summary
Types
t/0
Ash.Resource.Relationships.ManyToMany
Top
Summary
Types
t/0
Functions
transform/1
Ash.Resource.Validation
Top
Summary
Types
path/0
t/0
Functions
on/1
opt_schema/0
transform/1
validation/1
Callbacks
init/1
validate/2
Ash.Resource.Validation.Builtins
Top
Summary
Functions
absent/2
present/2
Ash.Resource.Validation.Present
Top
api introspection
Ash.Api.ResourceReference
Top
Exceptions
Ash.Error.Changes.InvalidAttribute
Top
Ash.Error.Changes.InvalidChanges
Top
Ash.Error.Changes.InvalidRelationship
Top
Ash.Error.Changes.NoSuchAttribute
Top
Ash.Error.Changes.NoSuchRelationship
Top
Ash.Error.Changes.UnknownError
Top
Ash.Error.Dsl.DslError
Top
Ash.Error.Filter.InvalidFilterValue
Top
Ash.Error.Filter.NoSuchAttributeOrRelationship
Top
Ash.Error.Filter.NoSuchFilterPredicate
Top
Ash.Error.Filter.ReadActionRequired
Top
Ash.Error.Filter.UnsupportedPredicate
Top
Ash.Error.Forbidden
Top
Ash.Error.Forbidden.MustPassStrictCheck
Top
Ash.Error.Framework
Top
Ash.Error.Framework.AssumptionFailed
Top
Ash.Error.Framework.SynchronousEngineStuck
Top
Ash.Error.Invalid
Top
Ash.Error.Invalid.DuplicatedPath
Top
Ash.Error.Invalid.ImpossiblePath
Top
Ash.Error.Invalid.InvalidPrimaryKey
Top
Ash.Error.Invalid.NoSuchAction
Top
Ash.Error.Invalid.NoSuchResource
Top
Ash.Error.Query.InvalidLimit
Top
Ash.Error.Query.InvalidOffset
Top
Ash.Error.Query.InvalidSortOrder
Top
Ash.Error.Query.NoSuchAttribute
Top
Ash.Error.Query.UnsortableAttribute
Top
Ash.Error.SideLoad.InvalidQuery
Top
Ash.Error.SideLoad.NoSuchRelationship
Top
Ash.Error.Unknown
Top
ash v0.11.0
Ash.Type.UtcDatetime
View Source
Represents a utc datetime
A builtin type that can be referenced via
:utc_datetime
Keyboard Shortcuts
×
c
Toggle sidebar
n
Toggle night mode
/
or
s
Focus search bar
g
Go to a HexDocs package
?
Bring up this help dialog
Go to a HexDocs package
×