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

Postgres specific callbacks for Ash.Type.

Use this in addition to Ash.Type.

Summary

Callbacks

value_to_postgres_default(t, constraints, term)

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