Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Vehicle) predicate.Vehicle
- func City(v string) predicate.Vehicle
- func CityContains(v string) predicate.Vehicle
- func CityContainsFold(v string) predicate.Vehicle
- func CityEQ(v string) predicate.Vehicle
- func CityEqualFold(v string) predicate.Vehicle
- func CityGT(v string) predicate.Vehicle
- func CityGTE(v string) predicate.Vehicle
- func CityHasPrefix(v string) predicate.Vehicle
- func CityHasSuffix(v string) predicate.Vehicle
- func CityIn(vs ...string) predicate.Vehicle
- func CityLT(v string) predicate.Vehicle
- func CityLTE(v string) predicate.Vehicle
- func CityNEQ(v string) predicate.Vehicle
- func CityNotIn(vs ...string) predicate.Vehicle
- func CreationTime(v time.Time) predicate.Vehicle
- func CreationTimeEQ(v time.Time) predicate.Vehicle
- func CreationTimeGT(v time.Time) predicate.Vehicle
- func CreationTimeGTE(v time.Time) predicate.Vehicle
- func CreationTimeIn(vs ...time.Time) predicate.Vehicle
- func CreationTimeIsNil() predicate.Vehicle
- func CreationTimeLT(v time.Time) predicate.Vehicle
- func CreationTimeLTE(v time.Time) predicate.Vehicle
- func CreationTimeNEQ(v time.Time) predicate.Vehicle
- func CreationTimeNotIn(vs ...time.Time) predicate.Vehicle
- func CreationTimeNotNil() predicate.Vehicle
- func CurrentLocation(v string) predicate.Vehicle
- func CurrentLocationContains(v string) predicate.Vehicle
- func CurrentLocationContainsFold(v string) predicate.Vehicle
- func CurrentLocationEQ(v string) predicate.Vehicle
- func CurrentLocationEqualFold(v string) predicate.Vehicle
- func CurrentLocationGT(v string) predicate.Vehicle
- func CurrentLocationGTE(v string) predicate.Vehicle
- func CurrentLocationHasPrefix(v string) predicate.Vehicle
- func CurrentLocationHasSuffix(v string) predicate.Vehicle
- func CurrentLocationIn(vs ...string) predicate.Vehicle
- func CurrentLocationIsNil() predicate.Vehicle
- func CurrentLocationLT(v string) predicate.Vehicle
- func CurrentLocationLTE(v string) predicate.Vehicle
- func CurrentLocationNEQ(v string) predicate.Vehicle
- func CurrentLocationNotIn(vs ...string) predicate.Vehicle
- func CurrentLocationNotNil() predicate.Vehicle
- func ExtIsNil() predicate.Vehicle
- func ExtNotNil() predicate.Vehicle
- func HasRides() predicate.Vehicle
- func HasRidesWith(preds ...predicate.Ride) predicate.Vehicle
- func HasUser() predicate.Vehicle
- func HasUserWith(preds ...predicate.User) predicate.Vehicle
- func ID(id uuid.UUID) predicate.Vehicle
- func IDEQ(id uuid.UUID) predicate.Vehicle
- func IDGT(id uuid.UUID) predicate.Vehicle
- func IDGTE(id uuid.UUID) predicate.Vehicle
- func IDIn(ids ...uuid.UUID) predicate.Vehicle
- func IDLT(id uuid.UUID) predicate.Vehicle
- func IDLTE(id uuid.UUID) predicate.Vehicle
- func IDNEQ(id uuid.UUID) predicate.Vehicle
- func IDNotIn(ids ...uuid.UUID) predicate.Vehicle
- func Not(p predicate.Vehicle) predicate.Vehicle
- func Or(predicates ...predicate.Vehicle) predicate.Vehicle
- func OwnerID(v uuid.UUID) predicate.Vehicle
- func OwnerIDEQ(v uuid.UUID) predicate.Vehicle
- func OwnerIDIn(vs ...uuid.UUID) predicate.Vehicle
- func OwnerIDIsNil() predicate.Vehicle
- func OwnerIDNEQ(v uuid.UUID) predicate.Vehicle
- func OwnerIDNotIn(vs ...uuid.UUID) predicate.Vehicle
- func OwnerIDNotNil() predicate.Vehicle
- func Status(v string) predicate.Vehicle
- func StatusContains(v string) predicate.Vehicle
- func StatusContainsFold(v string) predicate.Vehicle
- func StatusEQ(v string) predicate.Vehicle
- func StatusEqualFold(v string) predicate.Vehicle
- func StatusGT(v string) predicate.Vehicle
- func StatusGTE(v string) predicate.Vehicle
- func StatusHasPrefix(v string) predicate.Vehicle
- func StatusHasSuffix(v string) predicate.Vehicle
- func StatusIn(vs ...string) predicate.Vehicle
- func StatusIsNil() predicate.Vehicle
- func StatusLT(v string) predicate.Vehicle
- func StatusLTE(v string) predicate.Vehicle
- func StatusNEQ(v string) predicate.Vehicle
- func StatusNotIn(vs ...string) predicate.Vehicle
- func StatusNotNil() predicate.Vehicle
- func Type(v string) predicate.Vehicle
- func TypeContains(v string) predicate.Vehicle
- func TypeContainsFold(v string) predicate.Vehicle
- func TypeEQ(v string) predicate.Vehicle
- func TypeEqualFold(v string) predicate.Vehicle
- func TypeGT(v string) predicate.Vehicle
- func TypeGTE(v string) predicate.Vehicle
- func TypeHasPrefix(v string) predicate.Vehicle
- func TypeHasSuffix(v string) predicate.Vehicle
- func TypeIn(vs ...string) predicate.Vehicle
- func TypeIsNil() predicate.Vehicle
- func TypeLT(v string) predicate.Vehicle
- func TypeLTE(v string) predicate.Vehicle
- func TypeNEQ(v string) predicate.Vehicle
- func TypeNotIn(vs ...string) predicate.Vehicle
- func TypeNotNil() predicate.Vehicle
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the vehicle type in the database. Label = "vehicle" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldCreationTime holds the string denoting the creation_time field in the database. FieldCreationTime = "creation_time" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCurrentLocation holds the string denoting the current_location field in the database. FieldCurrentLocation = "current_location" // FieldExt holds the string denoting the ext field in the database. FieldExt = "ext" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeRides holds the string denoting the rides edge name in mutations. EdgeRides = "rides" // Table holds the table name of the vehicle in the database. Table = "vehicles" // UserTable is the table that holds the user relation/edge. UserTable = "vehicles" // 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 = "owner_id" // RidesTable is the table that holds the rides relation/edge. RidesTable = "rides" // RidesInverseTable is the table name for the Ride entity. // It exists in this package in order to avoid circular dependency with the "ride" package. RidesInverseTable = "rides" // RidesColumn is the table column denoting the rides relation/edge. RidesColumn = "vehicle_id" )
Variables ¶
var Columns = []string{ FieldID, FieldCity, FieldType, FieldOwnerID, FieldCreationTime, FieldStatus, FieldCurrentLocation, FieldExt, }
Columns holds all SQL columns for vehicle 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 CreationTime ¶
CreationTime applies equality check predicate on the "creation_time" field. It's identical to CreationTimeEQ.
func CreationTimeEQ ¶
CreationTimeEQ applies the EQ predicate on the "creation_time" field.
func CreationTimeGT ¶
CreationTimeGT applies the GT predicate on the "creation_time" field.
func CreationTimeGTE ¶
CreationTimeGTE applies the GTE predicate on the "creation_time" field.
func CreationTimeIn ¶
CreationTimeIn applies the In predicate on the "creation_time" field.
func CreationTimeIsNil ¶
CreationTimeIsNil applies the IsNil predicate on the "creation_time" field.
func CreationTimeLT ¶
CreationTimeLT applies the LT predicate on the "creation_time" field.
func CreationTimeLTE ¶
CreationTimeLTE applies the LTE predicate on the "creation_time" field.
func CreationTimeNEQ ¶
CreationTimeNEQ applies the NEQ predicate on the "creation_time" field.
func CreationTimeNotIn ¶
CreationTimeNotIn applies the NotIn predicate on the "creation_time" field.
func CreationTimeNotNil ¶
CreationTimeNotNil applies the NotNil predicate on the "creation_time" field.
func CurrentLocation ¶
CurrentLocation applies equality check predicate on the "current_location" field. It's identical to CurrentLocationEQ.
func CurrentLocationContains ¶
CurrentLocationContains applies the Contains predicate on the "current_location" field.
func CurrentLocationContainsFold ¶
CurrentLocationContainsFold applies the ContainsFold predicate on the "current_location" field.
func CurrentLocationEQ ¶
CurrentLocationEQ applies the EQ predicate on the "current_location" field.
func CurrentLocationEqualFold ¶
CurrentLocationEqualFold applies the EqualFold predicate on the "current_location" field.
func CurrentLocationGT ¶
CurrentLocationGT applies the GT predicate on the "current_location" field.
func CurrentLocationGTE ¶
CurrentLocationGTE applies the GTE predicate on the "current_location" field.
func CurrentLocationHasPrefix ¶
CurrentLocationHasPrefix applies the HasPrefix predicate on the "current_location" field.
func CurrentLocationHasSuffix ¶
CurrentLocationHasSuffix applies the HasSuffix predicate on the "current_location" field.
func CurrentLocationIn ¶
CurrentLocationIn applies the In predicate on the "current_location" field.
func CurrentLocationIsNil ¶
CurrentLocationIsNil applies the IsNil predicate on the "current_location" field.
func CurrentLocationLT ¶
CurrentLocationLT applies the LT predicate on the "current_location" field.
func CurrentLocationLTE ¶
CurrentLocationLTE applies the LTE predicate on the "current_location" field.
func CurrentLocationNEQ ¶
CurrentLocationNEQ applies the NEQ predicate on the "current_location" field.
func CurrentLocationNotIn ¶
CurrentLocationNotIn applies the NotIn predicate on the "current_location" field.
func CurrentLocationNotNil ¶
CurrentLocationNotNil applies the NotNil predicate on the "current_location" field.
func HasRidesWith ¶
HasRidesWith applies the HasEdge predicate on the "rides" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.