View Source AshPostgres.ManualRelationship behaviour (ash_postgres v2.4.12)
A behavior for postgres-specific manual relationship functionality
Summary
Callbacks
ash_postgres_join( source_query, opts, current_binding, destination_binding, type, destination_query )
@callback ash_postgres_join( source_query :: Ecto.Query.t(), opts :: Keyword.t(), current_binding :: term(), destination_binding :: term(), type :: :inner | :left, destination_query :: Ecto.Query.t() ) :: {:ok, Ecto.Query.t()} | {:error, term()}
@callback ash_postgres_subquery( opts :: Keyword.t(), current_binding :: term(), destination_binding :: term(), destination_query :: Ecto.Query.t() ) :: {:ok, Ecto.Query.t()} | {:error, term()}