EctoGen.Database (ecto_gen v0.5.1) View Source

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_routine_params(schema, routine_specific_name, routine_return_type_schema \\ nil, routine_return_type \\ nil)

View Source

Specs

get_routine_params(binary(), binary(), binary() | nil, binary() | nil) ::
  {:ok, [EctoGen.Database.DbRoutineParameter.t()]}
  | {:error, Postgrex.Error.t()}

Specs

get_routines(binary()) ::
  {:ok, [EctoGen.Database.DbRoutine.t()]} | {:error, Postgrex.Error.t()}

Callback implementation for GenServer.init/1.