Baz.Venues (baz v0.0.17)
Link to this section Summary
Link to this section Types
Link to this type
filter_and_order_opts()
Link to this type
order_opt()
@type order_opt() :: {:order, [atom()]}
Link to this type
venue()
@type venue() :: term()
Link to this type
where_opt()
Link to this section Functions
Link to this function
filter_and_order(opts)
@spec filter_and_order(filter_and_order_opts()) :: [venue()]
Link to this function
get_venue!(name)
Gets a single venue.
Raises Ecto.NoResultsError
if the Venue does not exist.
examples
Examples
iex> get_venue!("open_sea")
%Venue{}
iex> get_venue!("open_zea")
** (Ecto.NoResultsError)
Link to this function
load_config(venue_config \\ Application.get_env(:baz, :venues, %{}))
@spec load_config(map()) :: Baz.Venues.Services.LoadConfig.load_result()