View Source SurrealEx.Query behaviour (SurrealEx v0.2.0)

Link to this section Summary

Link to this section Callbacks

@callback before(arg :: any()) :: {:ok, any()} | {:error, any()}
Link to this callback

error(response)

View Source (optional)
@callback error(response :: any()) :: any()
@callback filters(arg :: any()) :: [(any() -> {:ok, nil} | {:error, bitstring()})]
@callback ok(response :: any()) :: any()
@callback query(arg :: any()) :: String.t()