class RoutesForOutingsView(Base): """ A (non-materialized) view which contains the associated routes for each outing. This view is used when filling the search index for outings. """ __table__ = sqa_view.view('routes_for_outings', schema, Base.metadata, _get_select_routes_for_outings_aggregated())
class WaypointsForRoutesView(Base): """ A (non-materialized) view which contains the associated waypoints for each route. This view is used when filling the search index for routes. """ __table__ = sqa_view.view('waypoints_for_routes', schema, Base.metadata, _get_select_waypoints_for_routes_aggregated())