View Source AshPostgres.Type behaviour (ash_postgres v2.1.17)

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