Supabase.Connection (Supabase v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Supabase.Connection{
  access_token: String.t(),
  api_key: String.t(),
  base_url: String.t(),
  bucket: String.t()
}

Link to this section Functions

Link to this function

delete(conn, endpoint, body)

View Source

Specs

delete(t(), String.t() | URI.t(), String.t()) :: any()
Link to this function

get(conn, endpoint, options \\ [])

View Source

Specs

get(t(), String.t() | URI.t(), keyword()) :: any()

Specs

new() :: t()

Specs

new(String.t(), String.t()) :: t()
Link to this function

new(base_url, api_key, access_token)

View Source

Specs

new(String.t(), String.t(), String.t()) :: t()
Link to this function

post(conn, endpoint, body, options \\ [])

View Source

Specs

post(t(), String.t() | URI.t(), any(), keyword()) :: any()