EctoGen.EEx.EExGenerator (ecto_gen v0.9.0) View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

generate_context_module(routines_with_params, opts \\ [])

View Source

Specs

generate_context_module([routine_with_params()], keyword()) :: iodata()
Link to this function

generate_routines_parser_modules(routines_with_params, module_name, include_sensitive_data)

View Source

Specs

generate_routines_parser_modules(
  [routine_with_params()],
  binary() | iodata(),
  binary() | iodata()
) :: [{EctoGen.Database.DbRoutine.t(), iodata()}]
Link to this function

generate_routines_results_modules(routines_with_params, module_name)

View Source

Specs

generate_routines_results_modules([routine_with_params()], binary() | iodata()) ::
  [
    {EctoGen.Database.DbRoutine.t(), iodata()}
  ]
Link to this function

prepare_context_module_assigns(routines_with_params, opts)

View Source

Specs

prepare_context_module_assigns([routine_with_params()], keyword()) :: keyword()
Link to this function

prepare_routine_assigns(routine, routine_params, module_name)

View Source

Specs

Link to this function

prepare_routine_parser_assings(routine, routine_params, module_name, include_sensitive_data)

View Source

Specs

prepare_routine_parser_assings(
  EctoGen.Database.DbRoutine.t(),
  [EctoGen.Database.DbRoutineParameter.t()],
  binary()
  | maybe_improper_list(
      binary() | maybe_improper_list(any(), binary() | []) | byte(),
      binary() | []
    ),
  any()
) :: keyword()