turbo_ecto v0.3.0 Turbo.Ecto.Hooks.Search.Attribute

Search Attribute.

Link to this section Summary

Functions

Extract Attribute

Link to this section Types

Link to this type t()
t() :: %Turbo.Ecto.Hooks.Search.Attribute{name: term(), parent: term()}

Link to this section Functions

Link to this function extract(key, module)
extract(String.t(), Ecto.Query.t()) :: t() | {:error, :attribute_not_found}

Extract Attribute.

TODO

  • Support multi table assoc, limit: 5.