EctoGen.Database.DbRoutine (ecto_gen v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %EctoGen.Database.DbRoutine{
  data_type: term(),
  name: term(),
  schema: term(),
  specific_name: term(),
  type_name: term(),
  type_schema: term()
}

Link to this section Functions

Link to this function

get_routine_parser_name(routine_schema, routine_name)

View Source

Specs

get_routine_parser_name(binary() | iodata(), binary() | iodata()) :: iodata()
Link to this function

get_routine_result_item_module_name(routine, module_name)

View Source

Specs

get_routine_result_item_module_name(t(), binary() | iodata()) :: iodata()

Returns fully-qualified module name where function's return struct should be.

Link to this function

get_routine_result_item_struct_name(routine_schema, routine_name)

View Source

Specs

get_routine_result_item_struct_name(binary() | iodata(), binary() | iodata()) ::
  iodata()
Link to this function

has_complex_return_type?(db_routine)

View Source
Link to this function

parse_from_db_row(value)

View Source