View Source AshPostgres.Type behaviour (ash_postgres v1.5.23)

Postgres specific callbacks for Ash.Type.

Use this in addition to Ash.Type.

Summary

Callbacks

Link to this callback

value_to_postgres_default(t, constraints, term)

View Source
@callback value_to_postgres_default(Ash.Type.t(), Ash.Type.constraints(), term()) ::
  {:ok, String.t()} | :error