View Source Supabase.PostgREST.QueryBuilder.Behaviour behaviour (supabase_postgrest v0.2.0)

Defines the interface for the QueryBuilder module

Summary

Types

insert_options()

@type insert_options() :: [
  count: :exact,
  returning: boolean() | :representation,
  on_conflict: any()
]

options()

@type options() :: [count: :exact, returning: boolean() | :representation]

Callbacks

delete(t)

delete(t, options)

insert(t, map)

insert(t, map, insert_options)

select(t, arg2)

select(t, arg2, options)

update(t, map)

update(t, map, options)

upsert(t, map)

upsert(t, map, insert_options)