Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Ride) predicate.Ride
- func City(v string) predicate.Ride
- func CityContains(v string) predicate.Ride
- func CityContainsFold(v string) predicate.Ride
- func CityEQ(v string) predicate.Ride
- func CityEqualFold(v string) predicate.Ride
- func CityGT(v string) predicate.Ride
- func CityGTE(v string) predicate.Ride
- func CityHasPrefix(v string) predicate.Ride
- func CityHasSuffix(v string) predicate.Ride
- func CityIn(vs ...string) predicate.Ride
- func CityLT(v string) predicate.Ride
- func CityLTE(v string) predicate.Ride
- func CityNEQ(v string) predicate.Ride
- func CityNotIn(vs ...string) predicate.Ride
- func EndAddress(v string) predicate.Ride
- func EndAddressContains(v string) predicate.Ride
- func EndAddressContainsFold(v string) predicate.Ride
- func EndAddressEQ(v string) predicate.Ride
- func EndAddressEqualFold(v string) predicate.Ride
- func EndAddressGT(v string) predicate.Ride
- func EndAddressGTE(v string) predicate.Ride
- func EndAddressHasPrefix(v string) predicate.Ride
- func EndAddressHasSuffix(v string) predicate.Ride
- func EndAddressIn(vs ...string) predicate.Ride
- func EndAddressIsNil() predicate.Ride
- func EndAddressLT(v string) predicate.Ride
- func EndAddressLTE(v string) predicate.Ride
- func EndAddressNEQ(v string) predicate.Ride
- func EndAddressNotIn(vs ...string) predicate.Ride
- func EndAddressNotNil() predicate.Ride
- func EndTime(v time.Time) predicate.Ride
- func EndTimeEQ(v time.Time) predicate.Ride
- func EndTimeGT(v time.Time) predicate.Ride
- func EndTimeGTE(v time.Time) predicate.Ride
- func EndTimeIn(vs ...time.Time) predicate.Ride
- func EndTimeIsNil() predicate.Ride
- func EndTimeLT(v time.Time) predicate.Ride
- func EndTimeLTE(v time.Time) predicate.Ride
- func EndTimeNEQ(v time.Time) predicate.Ride
- func EndTimeNotIn(vs ...time.Time) predicate.Ride
- func EndTimeNotNil() predicate.Ride
- func HasUser() predicate.Ride
- func HasUserWith(preds ...predicate.User) predicate.Ride
- func HasVehicle() predicate.Ride
- func HasVehicleLocationHistories() predicate.Ride
- func HasVehicleLocationHistoriesWith(preds ...predicate.VehicleLocationHistory) predicate.Ride
- func HasVehicleWith(preds ...predicate.Vehicle) predicate.Ride
- func ID(id uuid.UUID) predicate.Ride
- func IDEQ(id uuid.UUID) predicate.Ride
- func IDGT(id uuid.UUID) predicate.Ride
- func IDGTE(id uuid.UUID) predicate.Ride
- func IDIn(ids ...uuid.UUID) predicate.Ride
- func IDLT(id uuid.UUID) predicate.Ride
- func IDLTE(id uuid.UUID) predicate.Ride
- func IDNEQ(id uuid.UUID) predicate.Ride
- func IDNotIn(ids ...uuid.UUID) predicate.Ride
- func Not(p predicate.Ride) predicate.Ride
- func Or(predicates ...predicate.Ride) predicate.Ride
- func Revenue(v float64) predicate.Ride
- func RevenueEQ(v float64) predicate.Ride
- func RevenueGT(v float64) predicate.Ride
- func RevenueGTE(v float64) predicate.Ride
- func RevenueIn(vs ...float64) predicate.Ride
- func RevenueIsNil() predicate.Ride
- func RevenueLT(v float64) predicate.Ride
- func RevenueLTE(v float64) predicate.Ride
- func RevenueNEQ(v float64) predicate.Ride
- func RevenueNotIn(vs ...float64) predicate.Ride
- func RevenueNotNil() predicate.Ride
- func RiderID(v uuid.UUID) predicate.Ride
- func RiderIDEQ(v uuid.UUID) predicate.Ride
- func RiderIDIn(vs ...uuid.UUID) predicate.Ride
- func RiderIDIsNil() predicate.Ride
- func RiderIDNEQ(v uuid.UUID) predicate.Ride
- func RiderIDNotIn(vs ...uuid.UUID) predicate.Ride
- func RiderIDNotNil() predicate.Ride
- func StartAddress(v string) predicate.Ride
- func StartAddressContains(v string) predicate.Ride
- func StartAddressContainsFold(v string) predicate.Ride
- func StartAddressEQ(v string) predicate.Ride
- func StartAddressEqualFold(v string) predicate.Ride
- func StartAddressGT(v string) predicate.Ride
- func StartAddressGTE(v string) predicate.Ride
- func StartAddressHasPrefix(v string) predicate.Ride
- func StartAddressHasSuffix(v string) predicate.Ride
- func StartAddressIn(vs ...string) predicate.Ride
- func StartAddressIsNil() predicate.Ride
- func StartAddressLT(v string) predicate.Ride
- func StartAddressLTE(v string) predicate.Ride
- func StartAddressNEQ(v string) predicate.Ride
- func StartAddressNotIn(vs ...string) predicate.Ride
- func StartAddressNotNil() predicate.Ride
- func StartTime(v time.Time) predicate.Ride
- func StartTimeEQ(v time.Time) predicate.Ride
- func StartTimeGT(v time.Time) predicate.Ride
- func StartTimeGTE(v time.Time) predicate.Ride
- func StartTimeIn(vs ...time.Time) predicate.Ride
- func StartTimeIsNil() predicate.Ride
- func StartTimeLT(v time.Time) predicate.Ride
- func StartTimeLTE(v time.Time) predicate.Ride
- func StartTimeNEQ(v time.Time) predicate.Ride
- func StartTimeNotIn(vs ...time.Time) predicate.Ride
- func StartTimeNotNil() predicate.Ride
- func ValidColumn(column string) bool
- func VehicleCity(v string) predicate.Ride
- func VehicleCityContains(v string) predicate.Ride
- func VehicleCityContainsFold(v string) predicate.Ride
- func VehicleCityEQ(v string) predicate.Ride
- func VehicleCityEqualFold(v string) predicate.Ride
- func VehicleCityGT(v string) predicate.Ride
- func VehicleCityGTE(v string) predicate.Ride
- func VehicleCityHasPrefix(v string) predicate.Ride
- func VehicleCityHasSuffix(v string) predicate.Ride
- func VehicleCityIn(vs ...string) predicate.Ride
- func VehicleCityIsNil() predicate.Ride
- func VehicleCityLT(v string) predicate.Ride
- func VehicleCityLTE(v string) predicate.Ride
- func VehicleCityNEQ(v string) predicate.Ride
- func VehicleCityNotIn(vs ...string) predicate.Ride
- func VehicleCityNotNil() predicate.Ride
- func VehicleID(v uuid.UUID) predicate.Ride
- func VehicleIDEQ(v uuid.UUID) predicate.Ride
- func VehicleIDIn(vs ...uuid.UUID) predicate.Ride
- func VehicleIDIsNil() predicate.Ride
- func VehicleIDNEQ(v uuid.UUID) predicate.Ride
- func VehicleIDNotIn(vs ...uuid.UUID) predicate.Ride
- func VehicleIDNotNil() predicate.Ride
Constants ¶
const ( // Label holds the string label denoting the ride type in the database. Label = "ride" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldVehicleCity holds the string denoting the vehicle_city field in the database. FieldVehicleCity = "vehicle_city" // FieldRiderID holds the string denoting the rider_id field in the database. FieldRiderID = "rider_id" // FieldVehicleID holds the string denoting the vehicle_id field in the database. FieldVehicleID = "vehicle_id" // FieldStartAddress holds the string denoting the start_address field in the database. FieldStartAddress = "start_address" // FieldEndAddress holds the string denoting the end_address field in the database. FieldEndAddress = "end_address" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // FieldRevenue holds the string denoting the revenue field in the database. FieldRevenue = "revenue" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeVehicle holds the string denoting the vehicle edge name in mutations. EdgeVehicle = "vehicle" // EdgeVehicleLocationHistories holds the string denoting the vehicle_location_histories edge name in mutations. EdgeVehicleLocationHistories = "vehicle_location_histories" // Table holds the table name of the ride in the database. Table = "rides" // UserTable is the table that holds the user relation/edge. UserTable = "rides" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "rider_id" // VehicleTable is the table that holds the vehicle relation/edge. VehicleTable = "rides" // VehicleInverseTable is the table name for the Vehicle entity. // It exists in this package in order to avoid circular dependency with the "vehicle" package. VehicleInverseTable = "vehicles" // VehicleColumn is the table column denoting the vehicle relation/edge. VehicleColumn = "vehicle_id" // VehicleLocationHistoriesTable is the table that holds the vehicle_location_histories relation/edge. VehicleLocationHistoriesTable = "vehicle_location_histories" // VehicleLocationHistoriesInverseTable is the table name for the VehicleLocationHistory entity. // It exists in this package in order to avoid circular dependency with the "vehiclelocationhistory" package. VehicleLocationHistoriesInverseTable = "vehicle_location_histories" // VehicleLocationHistoriesColumn is the table column denoting the vehicle_location_histories relation/edge. VehicleLocationHistoriesColumn = "ride_id" )
Variables ¶
var Columns = []string{ FieldID, FieldCity, FieldVehicleCity, FieldRiderID, FieldVehicleID, FieldStartAddress, FieldEndAddress, FieldStartTime, FieldEndTime, FieldRevenue, }
Columns holds all SQL columns for ride fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func EndAddress ¶
EndAddress applies equality check predicate on the "end_address" field. It's identical to EndAddressEQ.
func EndAddressContains ¶
EndAddressContains applies the Contains predicate on the "end_address" field.
func EndAddressContainsFold ¶
EndAddressContainsFold applies the ContainsFold predicate on the "end_address" field.
func EndAddressEQ ¶
EndAddressEQ applies the EQ predicate on the "end_address" field.
func EndAddressEqualFold ¶
EndAddressEqualFold applies the EqualFold predicate on the "end_address" field.
func EndAddressGT ¶
EndAddressGT applies the GT predicate on the "end_address" field.
func EndAddressGTE ¶
EndAddressGTE applies the GTE predicate on the "end_address" field.
func EndAddressHasPrefix ¶
EndAddressHasPrefix applies the HasPrefix predicate on the "end_address" field.
func EndAddressHasSuffix ¶
EndAddressHasSuffix applies the HasSuffix predicate on the "end_address" field.
func EndAddressIn ¶
EndAddressIn applies the In predicate on the "end_address" field.
func EndAddressIsNil ¶
EndAddressIsNil applies the IsNil predicate on the "end_address" field.
func EndAddressLT ¶
EndAddressLT applies the LT predicate on the "end_address" field.
func EndAddressLTE ¶
EndAddressLTE applies the LTE predicate on the "end_address" field.
func EndAddressNEQ ¶
EndAddressNEQ applies the NEQ predicate on the "end_address" field.
func EndAddressNotIn ¶
EndAddressNotIn applies the NotIn predicate on the "end_address" field.
func EndAddressNotNil ¶
EndAddressNotNil applies the NotNil predicate on the "end_address" field.
func EndTime ¶
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeGTE ¶
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIsNil ¶
EndTimeIsNil applies the IsNil predicate on the "end_time" field.
func EndTimeLTE ¶
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func EndTimeNotNil ¶
EndTimeNotNil applies the NotNil predicate on the "end_time" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasVehicle ¶
HasVehicle applies the HasEdge predicate on the "vehicle" edge.
func HasVehicleLocationHistories ¶
HasVehicleLocationHistories applies the HasEdge predicate on the "vehicle_location_histories" edge.
func HasVehicleLocationHistoriesWith ¶
func HasVehicleLocationHistoriesWith(preds ...predicate.VehicleLocationHistory) predicate.Ride
HasVehicleLocationHistoriesWith applies the HasEdge predicate on the "vehicle_location_histories" edge with a given conditions (other predicates).
func HasVehicleWith ¶
HasVehicleWith applies the HasEdge predicate on the "vehicle" edge with a given conditions (other predicates).
func Revenue ¶
Revenue applies equality check predicate on the "revenue" field. It's identical to RevenueEQ.
func RevenueGTE ¶
RevenueGTE applies the GTE predicate on the "revenue" field.
func RevenueIsNil ¶
RevenueIsNil applies the IsNil predicate on the "revenue" field.
func RevenueLTE ¶
RevenueLTE applies the LTE predicate on the "revenue" field.
func RevenueNEQ ¶
RevenueNEQ applies the NEQ predicate on the "revenue" field.
func RevenueNotIn ¶
RevenueNotIn applies the NotIn predicate on the "revenue" field.
func RevenueNotNil ¶
RevenueNotNil applies the NotNil predicate on the "revenue" field.
func RiderID ¶
RiderID applies equality check predicate on the "rider_id" field. It's identical to RiderIDEQ.
func RiderIDIsNil ¶
RiderIDIsNil applies the IsNil predicate on the "rider_id" field.
func RiderIDNEQ ¶
RiderIDNEQ applies the NEQ predicate on the "rider_id" field.
func RiderIDNotIn ¶
RiderIDNotIn applies the NotIn predicate on the "rider_id" field.
func RiderIDNotNil ¶
RiderIDNotNil applies the NotNil predicate on the "rider_id" field.
func StartAddress ¶
StartAddress applies equality check predicate on the "start_address" field. It's identical to StartAddressEQ.
func StartAddressContains ¶
StartAddressContains applies the Contains predicate on the "start_address" field.
func StartAddressContainsFold ¶
StartAddressContainsFold applies the ContainsFold predicate on the "start_address" field.
func StartAddressEQ ¶
StartAddressEQ applies the EQ predicate on the "start_address" field.
func StartAddressEqualFold ¶
StartAddressEqualFold applies the EqualFold predicate on the "start_address" field.
func StartAddressGT ¶
StartAddressGT applies the GT predicate on the "start_address" field.
func StartAddressGTE ¶
StartAddressGTE applies the GTE predicate on the "start_address" field.
func StartAddressHasPrefix ¶
StartAddressHasPrefix applies the HasPrefix predicate on the "start_address" field.
func StartAddressHasSuffix ¶
StartAddressHasSuffix applies the HasSuffix predicate on the "start_address" field.
func StartAddressIn ¶
StartAddressIn applies the In predicate on the "start_address" field.
func StartAddressIsNil ¶
StartAddressIsNil applies the IsNil predicate on the "start_address" field.
func StartAddressLT ¶
StartAddressLT applies the LT predicate on the "start_address" field.
func StartAddressLTE ¶
StartAddressLTE applies the LTE predicate on the "start_address" field.
func StartAddressNEQ ¶
StartAddressNEQ applies the NEQ predicate on the "start_address" field.
func StartAddressNotIn ¶
StartAddressNotIn applies the NotIn predicate on the "start_address" field.
func StartAddressNotNil ¶
StartAddressNotNil applies the NotNil predicate on the "start_address" field.
func StartTime ¶
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeIsNil ¶
StartTimeIsNil applies the IsNil predicate on the "start_time" field.
func StartTimeLT ¶
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func StartTimeNotNil ¶
StartTimeNotNil applies the NotNil predicate on the "start_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VehicleCity ¶
VehicleCity applies equality check predicate on the "vehicle_city" field. It's identical to VehicleCityEQ.
func VehicleCityContains ¶
VehicleCityContains applies the Contains predicate on the "vehicle_city" field.
func VehicleCityContainsFold ¶
VehicleCityContainsFold applies the ContainsFold predicate on the "vehicle_city" field.
func VehicleCityEQ ¶
VehicleCityEQ applies the EQ predicate on the "vehicle_city" field.
func VehicleCityEqualFold ¶
VehicleCityEqualFold applies the EqualFold predicate on the "vehicle_city" field.
func VehicleCityGT ¶
VehicleCityGT applies the GT predicate on the "vehicle_city" field.
func VehicleCityGTE ¶
VehicleCityGTE applies the GTE predicate on the "vehicle_city" field.
func VehicleCityHasPrefix ¶
VehicleCityHasPrefix applies the HasPrefix predicate on the "vehicle_city" field.
func VehicleCityHasSuffix ¶
VehicleCityHasSuffix applies the HasSuffix predicate on the "vehicle_city" field.
func VehicleCityIn ¶
VehicleCityIn applies the In predicate on the "vehicle_city" field.
func VehicleCityIsNil ¶
VehicleCityIsNil applies the IsNil predicate on the "vehicle_city" field.
func VehicleCityLT ¶
VehicleCityLT applies the LT predicate on the "vehicle_city" field.
func VehicleCityLTE ¶
VehicleCityLTE applies the LTE predicate on the "vehicle_city" field.
func VehicleCityNEQ ¶
VehicleCityNEQ applies the NEQ predicate on the "vehicle_city" field.
func VehicleCityNotIn ¶
VehicleCityNotIn applies the NotIn predicate on the "vehicle_city" field.
func VehicleCityNotNil ¶
VehicleCityNotNil applies the NotNil predicate on the "vehicle_city" field.
func VehicleID ¶
VehicleID applies equality check predicate on the "vehicle_id" field. It's identical to VehicleIDEQ.
func VehicleIDEQ ¶
VehicleIDEQ applies the EQ predicate on the "vehicle_id" field.
func VehicleIDIn ¶
VehicleIDIn applies the In predicate on the "vehicle_id" field.
func VehicleIDIsNil ¶
VehicleIDIsNil applies the IsNil predicate on the "vehicle_id" field.
func VehicleIDNEQ ¶
VehicleIDNEQ applies the NEQ predicate on the "vehicle_id" field.
func VehicleIDNotIn ¶
VehicleIDNotIn applies the NotIn predicate on the "vehicle_id" field.
func VehicleIDNotNil ¶
VehicleIDNotNil applies the NotNil predicate on the "vehicle_id" field.
Types ¶
This section is empty.