View Source Confeature.SQL (Confeature v0.1.2)

Internal module to perform SQL operations.

Summary

Functions

@spec delete(parent :: atom(), name :: atom()) ::
  {:ok, struct()} | {:error, changeset :: term()}
@spec disable(parent :: atom(), name :: atom()) :: {:ok, struct()}
@spec enable(parent :: atom(), name :: atom()) :: {:ok, struct()}
@spec get(parent :: atom(), name :: atom()) :: Confeature.Schema.t() | nil
@spec upsert(parent :: atom(), feature :: struct()) :: {:ok, struct()}