View Source Supabase.PostgREST.TransformBuilder.Behaviour behaviour (supabase_postgrest v0.2.0)
Defines the interface for the TransformBuilder module
Summary
Types
Callbacks
@callback csv(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()
@callback explain(Supabase.PostgREST.Builder.t(), options :: explain) :: Supabase.PostgREST.Builder.t() when explain: [{opt, boolean()} | {:format, :json | :text}], opt: :analyze | :verbose | :settings | :buffers | :wal
@callback geojson(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()
@callback limit(Supabase.PostgREST.Builder.t(), count :: integer()) :: Supabase.PostgREST.Builder.t()
@callback limit(Supabase.PostgREST.Builder.t(), count :: integer(), [ {:foreign_table, String.t()} ]) :: Supabase.PostgREST.Builder.t()
@callback maybe_single(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()
@callback order(Supabase.PostgREST.Builder.t(), column :: String.t(), order_options()) :: Supabase.PostgREST.Builder.t()
@callback order(Supabase.PostgREST.Builder.t(), column :: String.t(), order_options()) :: Supabase.PostgREST.Builder.t()
@callback range(Supabase.PostgREST.Builder.t(), from :: integer(), to :: integer()) :: Supabase.PostgREST.Builder.t()
@callback range(Supabase.PostgREST.Builder.t(), from :: integer(), to :: integer(), [ {:foreign_table, String.t()} ]) :: Supabase.PostgREST.Builder.t()
@callback returning(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()
@callback returning(Supabase.PostgREST.Builder.t(), [String.t()] | String.t()) :: Supabase.PostgREST.Builder.t()
@callback rollback(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()
@callback single(Supabase.PostgREST.Builder.t()) :: Supabase.PostgREST.Builder.t()