View Source Dx.Evaluation (dx v0.3.0)

Represents an evaluation run in Dx.Engine according to the token pattern in Elixir.

Link to this section Summary

Functions

Loads the given data requirements in an evaluation, and returns it updated.

Link to this section Types

@type t() :: %Dx.Evaluation{
  args: map(),
  binds: map() | nil,
  cache: any() | nil,
  debug?: boolean(),
  extra_rules: [module()],
  loader: module(),
  negate?: boolean(),
  resolve_predicates?: boolean(),
  return_cache?: boolean(),
  root_subject: map() | nil,
  select: any() | nil
}

Link to this section Functions

Link to this function

load_data_reqs(eval, data_reqs)

View Source

Loads the given data requirements in an evaluation, and returns it updated.