Documentation
¶
Index ¶
- Constants
- Variables
- func AirlineId(v int) predicate.Route
- func AirlineIdEQ(v int) predicate.Route
- func AirlineIdGT(v int) predicate.Route
- func AirlineIdGTE(v int) predicate.Route
- func AirlineIdIn(vs ...int) predicate.Route
- func AirlineIdLT(v int) predicate.Route
- func AirlineIdLTE(v int) predicate.Route
- func AirlineIdNEQ(v int) predicate.Route
- func AirlineIdNotIn(vs ...int) predicate.Route
- func And(predicates ...predicate.Route) predicate.Route
- func DestinationAirportId(v int) predicate.Route
- func DestinationAirportIdEQ(v int) predicate.Route
- func DestinationAirportIdGT(v int) predicate.Route
- func DestinationAirportIdGTE(v int) predicate.Route
- func DestinationAirportIdIn(vs ...int) predicate.Route
- func DestinationAirportIdLT(v int) predicate.Route
- func DestinationAirportIdLTE(v int) predicate.Route
- func DestinationAirportIdNEQ(v int) predicate.Route
- func DestinationAirportIdNotIn(vs ...int) predicate.Route
- func ID(id int) predicate.Route
- func IDEQ(id int) predicate.Route
- func IDGT(id int) predicate.Route
- func IDGTE(id int) predicate.Route
- func IDIn(ids ...int) predicate.Route
- func IDLT(id int) predicate.Route
- func IDLTE(id int) predicate.Route
- func IDNEQ(id int) predicate.Route
- func IDNotIn(ids ...int) predicate.Route
- func Not(p predicate.Route) predicate.Route
- func NumberOfStops(v int) predicate.Route
- func NumberOfStopsEQ(v int) predicate.Route
- func NumberOfStopsGT(v int) predicate.Route
- func NumberOfStopsGTE(v int) predicate.Route
- func NumberOfStopsIn(vs ...int) predicate.Route
- func NumberOfStopsLT(v int) predicate.Route
- func NumberOfStopsLTE(v int) predicate.Route
- func NumberOfStopsNEQ(v int) predicate.Route
- func NumberOfStopsNotIn(vs ...int) predicate.Route
- func Or(predicates ...predicate.Route) predicate.Route
- func PlaneId(v int) predicate.Route
- func PlaneIdEQ(v int) predicate.Route
- func PlaneIdGT(v int) predicate.Route
- func PlaneIdGTE(v int) predicate.Route
- func PlaneIdIn(vs ...int) predicate.Route
- func PlaneIdLT(v int) predicate.Route
- func PlaneIdLTE(v int) predicate.Route
- func PlaneIdNEQ(v int) predicate.Route
- func PlaneIdNotIn(vs ...int) predicate.Route
- func SourceAirportId(v int) predicate.Route
- func SourceAirportIdEQ(v int) predicate.Route
- func SourceAirportIdGT(v int) predicate.Route
- func SourceAirportIdGTE(v int) predicate.Route
- func SourceAirportIdIn(vs ...int) predicate.Route
- func SourceAirportIdLT(v int) predicate.Route
- func SourceAirportIdLTE(v int) predicate.Route
- func SourceAirportIdNEQ(v int) predicate.Route
- func SourceAirportIdNotIn(vs ...int) predicate.Route
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the route type in the database. Label = "route" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAirlineId holds the string denoting the airlineid field in the database. FieldAirlineId = "airline_id" // FieldSourceAirportId holds the string denoting the sourceairportid field in the database. FieldSourceAirportId = "source_airport_id" // FieldDestinationAirportId holds the string denoting the destinationairportid field in the database. FieldDestinationAirportId = "destination_airport_id" // FieldPlaneId holds the string denoting the planeid field in the database. FieldPlaneId = "plane_id" // FieldNumberOfStops holds the string denoting the numberofstops field in the database. FieldNumberOfStops = "number_of_stops" // Table holds the table name of the route in the database. Table = "routes" )
Variables ¶
var Columns = []string{ FieldID, FieldAirlineId, FieldSourceAirportId, FieldDestinationAirportId, FieldPlaneId, FieldNumberOfStops, }
Columns holds all SQL columns for route fields.
Functions ¶
func AirlineId ¶
AirlineId applies equality check predicate on the "airlineId" field. It's identical to AirlineIdEQ.
func AirlineIdEQ ¶
AirlineIdEQ applies the EQ predicate on the "airlineId" field.
func AirlineIdGT ¶
AirlineIdGT applies the GT predicate on the "airlineId" field.
func AirlineIdGTE ¶
AirlineIdGTE applies the GTE predicate on the "airlineId" field.
func AirlineIdIn ¶
AirlineIdIn applies the In predicate on the "airlineId" field.
func AirlineIdLT ¶
AirlineIdLT applies the LT predicate on the "airlineId" field.
func AirlineIdLTE ¶
AirlineIdLTE applies the LTE predicate on the "airlineId" field.
func AirlineIdNEQ ¶
AirlineIdNEQ applies the NEQ predicate on the "airlineId" field.
func AirlineIdNotIn ¶
AirlineIdNotIn applies the NotIn predicate on the "airlineId" field.
func DestinationAirportId ¶
DestinationAirportId applies equality check predicate on the "destinationAirportId" field. It's identical to DestinationAirportIdEQ.
func DestinationAirportIdEQ ¶
DestinationAirportIdEQ applies the EQ predicate on the "destinationAirportId" field.
func DestinationAirportIdGT ¶
DestinationAirportIdGT applies the GT predicate on the "destinationAirportId" field.
func DestinationAirportIdGTE ¶
DestinationAirportIdGTE applies the GTE predicate on the "destinationAirportId" field.
func DestinationAirportIdIn ¶
DestinationAirportIdIn applies the In predicate on the "destinationAirportId" field.
func DestinationAirportIdLT ¶
DestinationAirportIdLT applies the LT predicate on the "destinationAirportId" field.
func DestinationAirportIdLTE ¶
DestinationAirportIdLTE applies the LTE predicate on the "destinationAirportId" field.
func DestinationAirportIdNEQ ¶
DestinationAirportIdNEQ applies the NEQ predicate on the "destinationAirportId" field.
func DestinationAirportIdNotIn ¶
DestinationAirportIdNotIn applies the NotIn predicate on the "destinationAirportId" field.
func NumberOfStops ¶
NumberOfStops applies equality check predicate on the "numberOfStops" field. It's identical to NumberOfStopsEQ.
func NumberOfStopsEQ ¶
NumberOfStopsEQ applies the EQ predicate on the "numberOfStops" field.
func NumberOfStopsGT ¶
NumberOfStopsGT applies the GT predicate on the "numberOfStops" field.
func NumberOfStopsGTE ¶
NumberOfStopsGTE applies the GTE predicate on the "numberOfStops" field.
func NumberOfStopsIn ¶
NumberOfStopsIn applies the In predicate on the "numberOfStops" field.
func NumberOfStopsLT ¶
NumberOfStopsLT applies the LT predicate on the "numberOfStops" field.
func NumberOfStopsLTE ¶
NumberOfStopsLTE applies the LTE predicate on the "numberOfStops" field.
func NumberOfStopsNEQ ¶
NumberOfStopsNEQ applies the NEQ predicate on the "numberOfStops" field.
func NumberOfStopsNotIn ¶
NumberOfStopsNotIn applies the NotIn predicate on the "numberOfStops" field.
func PlaneId ¶
PlaneId applies equality check predicate on the "planeId" field. It's identical to PlaneIdEQ.
func PlaneIdGTE ¶
PlaneIdGTE applies the GTE predicate on the "planeId" field.
func PlaneIdLTE ¶
PlaneIdLTE applies the LTE predicate on the "planeId" field.
func PlaneIdNEQ ¶
PlaneIdNEQ applies the NEQ predicate on the "planeId" field.
func PlaneIdNotIn ¶
PlaneIdNotIn applies the NotIn predicate on the "planeId" field.
func SourceAirportId ¶
SourceAirportId applies equality check predicate on the "sourceAirportId" field. It's identical to SourceAirportIdEQ.
func SourceAirportIdEQ ¶
SourceAirportIdEQ applies the EQ predicate on the "sourceAirportId" field.
func SourceAirportIdGT ¶
SourceAirportIdGT applies the GT predicate on the "sourceAirportId" field.
func SourceAirportIdGTE ¶
SourceAirportIdGTE applies the GTE predicate on the "sourceAirportId" field.
func SourceAirportIdIn ¶
SourceAirportIdIn applies the In predicate on the "sourceAirportId" field.
func SourceAirportIdLT ¶
SourceAirportIdLT applies the LT predicate on the "sourceAirportId" field.
func SourceAirportIdLTE ¶
SourceAirportIdLTE applies the LTE predicate on the "sourceAirportId" field.
func SourceAirportIdNEQ ¶
SourceAirportIdNEQ applies the NEQ predicate on the "sourceAirportId" field.
func SourceAirportIdNotIn ¶
SourceAirportIdNotIn applies the NotIn predicate on the "sourceAirportId" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.