EctoTurbo.Hooks.Search.Attribute (EctoTurbo v1.0.0)

View Source

Search Attribute.

Summary

Functions

Extract Attribute.

Types

t()

@type t() :: %EctoTurbo.Hooks.Search.Attribute{name: term(), parent: term()}

Functions

extract(key, module)

@spec extract(String.t(), module()) :: t() | {:error, atom()}

Extract Attribute.

TODO

  • Support multi table assoc, limit: 5.