Documentation ¶
Index ¶
- Variables
- func AgencySelect(limit *int, after *model.Cursor, ids []int, active bool, ...) sq.SelectBuilder
- func CensusGeographySelect(param *model.CensusGeographyParam, entityIds []int) sq.SelectBuilder
- func CensusValueSelect(param *model.CensusValueParam, geoids []string) sq.SelectBuilder
- func FeedSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, ...) sq.SelectBuilder
- func FeedVersionGeometrySelect(ids []int) sq.SelectBuilder
- func FeedVersionSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, ...) sq.SelectBuilder
- func FeedVersionServiceLevelSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, ...) sq.SelectBuilder
- func In[T any](col string, val []T) sq.Sqlizer
- func OperatorSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, ...) sq.SelectBuilder
- func OperatorSelectBase(distinct bool, where *model.OperatorFilter) sq.SelectBuilder
- func OperatorsByAgencyID(limit *int, after *model.Cursor, agencyIds []int) sq.SelectBuilder
- func PathwaySelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, ...) sq.SelectBuilder
- func PlaceSelect(limit *int, after *model.Cursor, ids []int, level *model.PlaceAggregationLevel, ...) sq.SelectBuilder
- func RouteSelect(limit *int, after *model.Cursor, ids []int, active bool, ...) sq.SelectBuilder
- func RouteStopBufferSelect(param model.RouteStopBufferParam) sq.SelectBuilder
- func StopDeparturesSelect(spairs []FVPair, where *model.StopTimeFilter) sq.SelectBuilder
- func StopSelect(limit *int, after *model.Cursor, ids []int, active bool, ...) sq.SelectBuilder
- func StopTimeFilterExpand(where *model.StopTimeFilter, fvsw *model.ServiceWindow) []*model.StopTimeFilter
- func StopTimeSelect(tpairs []FVPair, spairs []FVPair, where *model.TripStopTimeFilter) sq.SelectBuilder
- func TripSelect(limit *int, after *model.Cursor, ids []int, active bool, ...) sq.SelectBuilder
- type FVPair
- type FeedVersionGeometry
- type Finder
- func (f *Finder) AgenciesByFeedVersionID(ctx context.Context, params []model.AgencyParam) ([][]*model.Agency, []error)
- func (f *Finder) AgenciesByID(ctx context.Context, ids []int) ([]*model.Agency, []error)
- func (f *Finder) AgenciesByOnestopID(ctx context.Context, params []model.AgencyParam) ([][]*model.Agency, []error)
- func (f *Finder) AgencyPlacesByAgencyID(ctx context.Context, params []model.AgencyPlaceParam) ([][]*model.AgencyPlace, []error)
- func (f *Finder) CalendarDatesByServiceID(ctx context.Context, params []model.CalendarDateParam) ([][]*model.CalendarDate, []error)
- func (f *Finder) CalendarsByID(ctx context.Context, ids []int) ([]*model.Calendar, []error)
- func (f *Finder) CensusFieldsByTableID(ctx context.Context, params []model.CensusFieldParam) ([][]*model.CensusField, []error)
- func (f *Finder) CensusGeographiesByEntityID(ctx context.Context, params []model.CensusGeographyParam) ([][]*model.CensusGeography, []error)
- func (f *Finder) CensusTableByID(ctx context.Context, ids []int) ([]*model.CensusTable, []error)
- func (f *Finder) CensusValuesByGeographyID(ctx context.Context, params []model.CensusValueParam) ([][]*model.CensusValue, []error)
- func (f *Finder) DBX() sqlx.Ext
- func (f *Finder) FeedFetchesByFeedID(ctx context.Context, params []model.FeedFetchParam) ([][]*model.FeedFetch, []error)
- func (f *Finder) FeedInfosByFeedVersionID(ctx context.Context, params []model.FeedInfoParam) ([][]*model.FeedInfo, []error)
- func (f *Finder) FeedStatesByFeedID(ctx context.Context, ids []int) ([]*model.FeedState, []error)
- func (f *Finder) FeedVersionFileInfosByFeedVersionID(ctx context.Context, params []model.FeedVersionFileInfoParam) ([][]*model.FeedVersionFileInfo, []error)
- func (f *Finder) FeedVersionGeometryByID(ctx context.Context, ids []int) ([]*tt.Polygon, []error)
- func (f *Finder) FeedVersionGtfsImportByFeedVersionID(ctx context.Context, ids []int) ([]*model.FeedVersionGtfsImport, []error)
- func (f *Finder) FeedVersionServiceLevelsByFeedVersionID(ctx context.Context, params []model.FeedVersionServiceLevelParam) ([][]*model.FeedVersionServiceLevel, []error)
- func (f *Finder) FeedVersionServiceWindowByFeedVersionID(ctx context.Context, ids []int) ([]*model.FeedVersionServiceWindow, []error)
- func (f *Finder) FeedVersionsByFeedID(ctx context.Context, params []model.FeedVersionParam) ([][]*model.FeedVersion, []error)
- func (f *Finder) FeedVersionsByID(ctx context.Context, ids []int) ([]*model.FeedVersion, []error)
- func (f *Finder) FeedsByID(ctx context.Context, ids []int) ([]*model.Feed, []error)
- func (f *Finder) FeedsByOperatorOnestopID(ctx context.Context, params []model.FeedParam) ([][]*model.Feed, []error)
- func (f *Finder) FindAgencies(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Agency, error)
- func (f *Finder) FindFeedVersionServiceWindow(ctx context.Context, fvid int) (*model.ServiceWindow, error)
- func (f *Finder) FindFeedVersions(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.FeedVersion, error)
- func (f *Finder) FindFeeds(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Feed, error)
- func (f *Finder) FindOperators(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Operator, error)
- func (f *Finder) FindPlaces(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Place, error)
- func (f *Finder) FindRoutes(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Route, error)
- func (f *Finder) FindStops(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Stop, error)
- func (f *Finder) FindTrips(ctx context.Context, limit *int, after *model.Cursor, ids []int, ...) ([]*model.Trip, error)
- func (f *Finder) FrequenciesByTripID(ctx context.Context, params []model.FrequencyParam) ([][]*model.Frequency, []error)
- func (f *Finder) LevelCreate(ctx context.Context, input model.LevelSetInput) (int, error)
- func (f *Finder) LevelDelete(ctx context.Context, id int) error
- func (f *Finder) LevelUpdate(ctx context.Context, input model.LevelSetInput) (int, error)
- func (f *Finder) LevelsByID(ctx context.Context, ids []int) ([]*model.Level, []error)
- func (f *Finder) LevelsByParentStationID(ctx context.Context, params []model.LevelParam) ([][]*model.Level, []error)
- func (f *Finder) LoadAdmins() error
- func (f *Finder) OperatorsByAgencyID(ctx context.Context, ids []int) ([]*model.Operator, []error)
- func (f *Finder) OperatorsByCOIF(ctx context.Context, ids []int) ([]*model.Operator, []error)
- func (f *Finder) OperatorsByFeedID(ctx context.Context, params []model.OperatorParam) ([][]*model.Operator, []error)
- func (f *Finder) PathwayCreate(ctx context.Context, input model.PathwaySetInput) (int, error)
- func (f *Finder) PathwayDelete(ctx context.Context, id int) error
- func (f *Finder) PathwayUpdate(ctx context.Context, input model.PathwaySetInput) (int, error)
- func (f *Finder) PathwaysByFromStopID(ctx context.Context, params []model.PathwayParam) ([][]*model.Pathway, []error)
- func (f *Finder) PathwaysByID(ctx context.Context, ids []int) ([]*model.Pathway, []error)
- func (f *Finder) PathwaysByToStopID(ctx context.Context, params []model.PathwayParam) ([][]*model.Pathway, []error)
- func (f *Finder) PermFilter(ctx context.Context) *model.PermFilter
- func (f *Finder) RouteAttributesByRouteID(ctx context.Context, ids []int) ([]*model.RouteAttribute, []error)
- func (f *Finder) RouteGeometriesByRouteID(ctx context.Context, params []model.RouteGeometryParam) ([][]*model.RouteGeometry, []error)
- func (f *Finder) RouteHeadwaysByRouteID(ctx context.Context, params []model.RouteHeadwayParam) ([][]*model.RouteHeadway, []error)
- func (f *Finder) RouteStopBuffer(ctx context.Context, param *model.RouteStopBufferParam) ([]*model.RouteStopBuffer, error)
- func (f *Finder) RouteStopPatternsByRouteID(ctx context.Context, params []model.RouteStopPatternParam) ([][]*model.RouteStopPattern, []error)
- func (f *Finder) RouteStopsByRouteID(ctx context.Context, params []model.RouteStopParam) ([][]*model.RouteStop, []error)
- func (f *Finder) RouteStopsByStopID(ctx context.Context, params []model.RouteStopParam) ([][]*model.RouteStop, []error)
- func (f *Finder) RoutesByAgencyID(ctx context.Context, params []model.RouteParam) ([][]*model.Route, []error)
- func (f *Finder) RoutesByFeedVersionID(ctx context.Context, params []model.RouteParam) ([][]*model.Route, []error)
- func (f *Finder) RoutesByID(ctx context.Context, ids []int) ([]*model.Route, []error)
- func (f *Finder) SegmentPatternsByRouteID(ctx context.Context, params []model.SegmentPatternParam) ([][]*model.SegmentPattern, []error)
- func (f *Finder) SegmentPatternsBySegmentID(ctx context.Context, params []model.SegmentPatternParam) ([][]*model.SegmentPattern, []error)
- func (f *Finder) SegmentsByFeedVersionID(ctx context.Context, params []model.SegmentParam) ([][]*model.Segment, []error)
- func (f *Finder) SegmentsByID(ctx context.Context, ids []int) ([]*model.Segment, []error)
- func (f *Finder) SegmentsByRouteID(ctx context.Context, params []model.SegmentParam) ([][]*model.Segment, []error)
- func (f *Finder) ShapesByID(ctx context.Context, ids []int) ([]*model.Shape, []error)
- func (f *Finder) StopCreate(ctx context.Context, input model.StopSetInput) (int, error)
- func (f *Finder) StopDelete(ctx context.Context, id int) error
- func (f *Finder) StopExternalReferencesByStopID(ctx context.Context, ids []int) ([]*model.StopExternalReference, []error)
- func (f *Finder) StopObservationsByStopID(ctx context.Context, params []model.StopObservationParam) ([][]*model.StopObservation, []error)
- func (f *Finder) StopPlacesByStopID(ctx context.Context, params []model.StopPlaceParam) ([]*model.StopPlace, []error)
- func (f *Finder) StopTimesByStopID(ctx context.Context, params []model.StopTimeParam) ([][]*model.StopTime, []error)
- func (f *Finder) StopTimesByTripID(ctx context.Context, params []model.TripStopTimeParam) ([][]*model.StopTime, []error)
- func (f *Finder) StopUpdate(ctx context.Context, input model.StopSetInput) (int, error)
- func (f *Finder) StopsByFeedVersionID(ctx context.Context, params []model.StopParam) ([][]*model.Stop, []error)
- func (f *Finder) StopsByID(ctx context.Context, ids []int) ([]*model.Stop, []error)
- func (f *Finder) StopsByLevelID(ctx context.Context, params []model.StopParam) ([][]*model.Stop, []error)
- func (f *Finder) StopsByParentStopID(ctx context.Context, params []model.StopParam) ([][]*model.Stop, []error)
- func (f *Finder) StopsByRouteID(ctx context.Context, params []model.StopParam) ([][]*model.Stop, []error)
- func (f *Finder) TargetStopsByStopID(ctx context.Context, ids []int) ([]*model.Stop, []error)
- func (f *Finder) TripsByFeedVersionID(ctx context.Context, params []model.TripParam) ([][]*model.Trip, []error)
- func (f *Finder) TripsByID(ctx context.Context, ids []int) (ents []*model.Trip, errs []error)
- func (f *Finder) TripsByRouteID(ctx context.Context, params []model.TripParam) ([][]*model.Trip, []error)
- func (f *Finder) ValidationReportErrorExemplarsByValidationReportErrorGroupID(ctx context.Context, params []model.ValidationReportErrorExemplarParam) ([][]*model.ValidationReportError, []error)
- func (f *Finder) ValidationReportErrorGroupsByValidationReportID(ctx context.Context, params []model.ValidationReportErrorGroupParam) ([][]*model.ValidationReportErrorGroup, []error)
- func (f *Finder) ValidationReportsByFeedVersionID(ctx context.Context, params []model.ValidationReportParam) ([][]*model.ValidationReport, []error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MAXLIMIT = 100_000
Maximum query result limit
Functions ¶
func AgencySelect ¶
func AgencySelect(limit *int, after *model.Cursor, ids []int, active bool, permFilter *model.PermFilter, where *model.AgencyFilter) sq.SelectBuilder
func CensusGeographySelect ¶
func CensusGeographySelect(param *model.CensusGeographyParam, entityIds []int) sq.SelectBuilder
func CensusValueSelect ¶
func CensusValueSelect(param *model.CensusValueParam, geoids []string) sq.SelectBuilder
func FeedSelect ¶
func FeedSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, where *model.FeedFilter) sq.SelectBuilder
func FeedVersionGeometrySelect ¶
func FeedVersionGeometrySelect(ids []int) sq.SelectBuilder
func FeedVersionSelect ¶
func FeedVersionSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, where *model.FeedVersionFilter) sq.SelectBuilder
func FeedVersionServiceLevelSelect ¶
func FeedVersionServiceLevelSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, where *model.FeedVersionServiceLevelFilter) sq.SelectBuilder
func OperatorSelect ¶
func OperatorSelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, where *model.OperatorFilter) sq.SelectBuilder
func OperatorSelectBase ¶
func OperatorSelectBase(distinct bool, where *model.OperatorFilter) sq.SelectBuilder
func OperatorsByAgencyID ¶
func PathwaySelect ¶
func PathwaySelect(limit *int, after *model.Cursor, ids []int, permFilter *model.PermFilter, where *model.PathwayFilter) sq.SelectBuilder
func PlaceSelect ¶
func PlaceSelect(limit *int, after *model.Cursor, ids []int, level *model.PlaceAggregationLevel, permFilter *model.PermFilter, where *model.PlaceFilter) sq.SelectBuilder
func RouteSelect ¶
func RouteSelect(limit *int, after *model.Cursor, ids []int, active bool, permFilter *model.PermFilter, where *model.RouteFilter) sq.SelectBuilder
func RouteStopBufferSelect ¶
func RouteStopBufferSelect(param model.RouteStopBufferParam) sq.SelectBuilder
func StopDeparturesSelect ¶
func StopDeparturesSelect(spairs []FVPair, where *model.StopTimeFilter) sq.SelectBuilder
func StopSelect ¶
func StopSelect(limit *int, after *model.Cursor, ids []int, active bool, permFilter *model.PermFilter, where *model.StopFilter) sq.SelectBuilder
func StopTimeFilterExpand ¶
func StopTimeFilterExpand(where *model.StopTimeFilter, fvsw *model.ServiceWindow) []*model.StopTimeFilter
func StopTimeSelect ¶
func StopTimeSelect(tpairs []FVPair, spairs []FVPair, where *model.TripStopTimeFilter) sq.SelectBuilder
func TripSelect ¶
func TripSelect(limit *int, after *model.Cursor, ids []int, active bool, permFilter *model.PermFilter, where *model.TripFilter, fvsw *model.ServiceWindow) sq.SelectBuilder
Types ¶
type FeedVersionGeometry ¶
type Finder ¶
func (*Finder) AgenciesByFeedVersionID ¶
func (*Finder) AgenciesByID ¶
func (*Finder) AgenciesByOnestopID ¶
func (*Finder) AgencyPlacesByAgencyID ¶
func (f *Finder) AgencyPlacesByAgencyID(ctx context.Context, params []model.AgencyPlaceParam) ([][]*model.AgencyPlace, []error)
func (*Finder) CalendarDatesByServiceID ¶
func (f *Finder) CalendarDatesByServiceID(ctx context.Context, params []model.CalendarDateParam) ([][]*model.CalendarDate, []error)
func (*Finder) CalendarsByID ¶
func (*Finder) CensusFieldsByTableID ¶
func (f *Finder) CensusFieldsByTableID(ctx context.Context, params []model.CensusFieldParam) ([][]*model.CensusField, []error)
func (*Finder) CensusGeographiesByEntityID ¶
func (f *Finder) CensusGeographiesByEntityID(ctx context.Context, params []model.CensusGeographyParam) ([][]*model.CensusGeography, []error)
func (*Finder) CensusTableByID ¶
func (*Finder) CensusValuesByGeographyID ¶
func (f *Finder) CensusValuesByGeographyID(ctx context.Context, params []model.CensusValueParam) ([][]*model.CensusValue, []error)
func (*Finder) FeedFetchesByFeedID ¶
func (*Finder) FeedInfosByFeedVersionID ¶
func (*Finder) FeedStatesByFeedID ¶
func (*Finder) FeedVersionFileInfosByFeedVersionID ¶
func (f *Finder) FeedVersionFileInfosByFeedVersionID(ctx context.Context, params []model.FeedVersionFileInfoParam) ([][]*model.FeedVersionFileInfo, []error)
func (*Finder) FeedVersionGeometryByID ¶
func (*Finder) FeedVersionGtfsImportByFeedVersionID ¶
func (*Finder) FeedVersionServiceLevelsByFeedVersionID ¶
func (f *Finder) FeedVersionServiceLevelsByFeedVersionID(ctx context.Context, params []model.FeedVersionServiceLevelParam) ([][]*model.FeedVersionServiceLevel, []error)
func (*Finder) FeedVersionServiceWindowByFeedVersionID ¶
func (*Finder) FeedVersionsByFeedID ¶
func (f *Finder) FeedVersionsByFeedID(ctx context.Context, params []model.FeedVersionParam) ([][]*model.FeedVersion, []error)
func (*Finder) FeedVersionsByID ¶
func (*Finder) FeedsByOperatorOnestopID ¶
func (*Finder) FindAgencies ¶
func (*Finder) FindFeedVersionServiceWindow ¶
func (*Finder) FindFeedVersions ¶
func (*Finder) FindOperators ¶
func (*Finder) FindPlaces ¶
func (*Finder) FindRoutes ¶
func (*Finder) FrequenciesByTripID ¶
func (*Finder) LevelCreate ¶
func (*Finder) LevelUpdate ¶
func (*Finder) LevelsByID ¶
func (*Finder) LevelsByParentStationID ¶
func (*Finder) LoadAdmins ¶
func (*Finder) OperatorsByAgencyID ¶
func (*Finder) OperatorsByCOIF ¶
func (*Finder) OperatorsByFeedID ¶
func (*Finder) PathwayCreate ¶
func (*Finder) PathwayUpdate ¶
func (*Finder) PathwaysByFromStopID ¶
func (*Finder) PathwaysByID ¶
func (*Finder) PathwaysByToStopID ¶
func (*Finder) PermFilter ¶
func (f *Finder) PermFilter(ctx context.Context) *model.PermFilter
func (*Finder) RouteAttributesByRouteID ¶
func (*Finder) RouteGeometriesByRouteID ¶
func (f *Finder) RouteGeometriesByRouteID(ctx context.Context, params []model.RouteGeometryParam) ([][]*model.RouteGeometry, []error)
func (*Finder) RouteHeadwaysByRouteID ¶
func (f *Finder) RouteHeadwaysByRouteID(ctx context.Context, params []model.RouteHeadwayParam) ([][]*model.RouteHeadway, []error)
func (*Finder) RouteStopBuffer ¶
func (f *Finder) RouteStopBuffer(ctx context.Context, param *model.RouteStopBufferParam) ([]*model.RouteStopBuffer, error)
func (*Finder) RouteStopPatternsByRouteID ¶
func (f *Finder) RouteStopPatternsByRouteID(ctx context.Context, params []model.RouteStopPatternParam) ([][]*model.RouteStopPattern, []error)
func (*Finder) RouteStopsByRouteID ¶
func (*Finder) RouteStopsByStopID ¶
func (*Finder) RoutesByAgencyID ¶
func (*Finder) RoutesByFeedVersionID ¶
func (*Finder) RoutesByID ¶
func (*Finder) SegmentPatternsByRouteID ¶
func (f *Finder) SegmentPatternsByRouteID(ctx context.Context, params []model.SegmentPatternParam) ([][]*model.SegmentPattern, []error)
func (*Finder) SegmentPatternsBySegmentID ¶
func (f *Finder) SegmentPatternsBySegmentID(ctx context.Context, params []model.SegmentPatternParam) ([][]*model.SegmentPattern, []error)
func (*Finder) SegmentsByFeedVersionID ¶
func (*Finder) SegmentsByID ¶
func (*Finder) SegmentsByRouteID ¶
func (*Finder) ShapesByID ¶
func (*Finder) StopCreate ¶
func (*Finder) StopExternalReferencesByStopID ¶
func (*Finder) StopObservationsByStopID ¶
func (f *Finder) StopObservationsByStopID(ctx context.Context, params []model.StopObservationParam) ([][]*model.StopObservation, []error)
func (*Finder) StopPlacesByStopID ¶
func (*Finder) StopTimesByStopID ¶
func (*Finder) StopTimesByTripID ¶
func (*Finder) StopUpdate ¶
func (*Finder) StopsByFeedVersionID ¶
func (*Finder) StopsByLevelID ¶
func (*Finder) StopsByParentStopID ¶
func (*Finder) StopsByRouteID ¶
func (*Finder) TargetStopsByStopID ¶
func (*Finder) TripsByFeedVersionID ¶
func (*Finder) TripsByRouteID ¶
func (*Finder) ValidationReportErrorExemplarsByValidationReportErrorGroupID ¶
func (f *Finder) ValidationReportErrorExemplarsByValidationReportErrorGroupID(ctx context.Context, params []model.ValidationReportErrorExemplarParam) ([][]*model.ValidationReportError, []error)
func (*Finder) ValidationReportErrorGroupsByValidationReportID ¶
func (f *Finder) ValidationReportErrorGroupsByValidationReportID(ctx context.Context, params []model.ValidationReportErrorGroupParam) ([][]*model.ValidationReportErrorGroup, []error)
func (*Finder) ValidationReportsByFeedVersionID ¶
func (f *Finder) ValidationReportsByFeedVersionID(ctx context.Context, params []model.ValidationReportParam) ([][]*model.ValidationReport, []error)
Click to show internal directories.
Click to hide internal directories.