Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.User
- func AddressContains(v string) predicate.User
- func AddressContainsFold(v string) predicate.User
- func AddressEQ(v string) predicate.User
- func AddressEqualFold(v string) predicate.User
- func AddressGT(v string) predicate.User
- func AddressGTE(v string) predicate.User
- func AddressHasPrefix(v string) predicate.User
- func AddressHasSuffix(v string) predicate.User
- func AddressIn(vs ...string) predicate.User
- func AddressIsNil() predicate.User
- func AddressLT(v string) predicate.User
- func AddressLTE(v string) predicate.User
- func AddressNEQ(v string) predicate.User
- func AddressNotIn(vs ...string) predicate.User
- func AddressNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func City(v string) predicate.User
- func CityContains(v string) predicate.User
- func CityContainsFold(v string) predicate.User
- func CityEQ(v string) predicate.User
- func CityEqualFold(v string) predicate.User
- func CityGT(v string) predicate.User
- func CityGTE(v string) predicate.User
- func CityHasPrefix(v string) predicate.User
- func CityHasSuffix(v string) predicate.User
- func CityIn(vs ...string) predicate.User
- func CityLT(v string) predicate.User
- func CityLTE(v string) predicate.User
- func CityNEQ(v string) predicate.User
- func CityNotIn(vs ...string) predicate.User
- func CreditCard(v string) predicate.User
- func CreditCardContains(v string) predicate.User
- func CreditCardContainsFold(v string) predicate.User
- func CreditCardEQ(v string) predicate.User
- func CreditCardEqualFold(v string) predicate.User
- func CreditCardGT(v string) predicate.User
- func CreditCardGTE(v string) predicate.User
- func CreditCardHasPrefix(v string) predicate.User
- func CreditCardHasSuffix(v string) predicate.User
- func CreditCardIn(vs ...string) predicate.User
- func CreditCardIsNil() predicate.User
- func CreditCardLT(v string) predicate.User
- func CreditCardLTE(v string) predicate.User
- func CreditCardNEQ(v string) predicate.User
- func CreditCardNotIn(vs ...string) predicate.User
- func CreditCardNotNil() predicate.User
- func HasRides() predicate.User
- func HasRidesWith(preds ...predicate.Ride) predicate.User
- func HasUserPromoCodes() predicate.User
- func HasUserPromoCodesWith(preds ...predicate.UserPromoCode) predicate.User
- func HasVehicles() predicate.User
- func HasVehiclesWith(preds ...predicate.Vehicle) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameIsNil() predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func NameNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldCreditCard holds the string denoting the credit_card field in the database. FieldCreditCard = "credit_card" // EdgeVehicles holds the string denoting the vehicles edge name in mutations. EdgeVehicles = "vehicles" // EdgeRides holds the string denoting the rides edge name in mutations. EdgeRides = "rides" // EdgeUserPromoCodes holds the string denoting the user_promo_codes edge name in mutations. EdgeUserPromoCodes = "user_promo_codes" // Table holds the table name of the user in the database. Table = "users" // VehiclesTable is the table that holds the vehicles relation/edge. VehiclesTable = "vehicles" // VehiclesInverseTable is the table name for the Vehicle entity. // It exists in this package in order to avoid circular dependency with the "vehicle" package. VehiclesInverseTable = "vehicles" // VehiclesColumn is the table column denoting the vehicles relation/edge. VehiclesColumn = "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 = "rider_id" // UserPromoCodesTable is the table that holds the user_promo_codes relation/edge. UserPromoCodesTable = "user_promo_codes" // UserPromoCodesInverseTable is the table name for the UserPromoCode entity. // It exists in this package in order to avoid circular dependency with the "userpromocode" package. UserPromoCodesInverseTable = "user_promo_codes" // UserPromoCodesColumn is the table column denoting the user_promo_codes relation/edge. UserPromoCodesColumn = "user_id" )
Variables ¶
var Columns = []string{ FieldID, FieldCity, FieldName, FieldAddress, FieldCreditCard, }
Columns holds all SQL columns for user fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
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 CreditCard ¶
CreditCard applies equality check predicate on the "credit_card" field. It's identical to CreditCardEQ.
func CreditCardContains ¶
CreditCardContains applies the Contains predicate on the "credit_card" field.
func CreditCardContainsFold ¶
CreditCardContainsFold applies the ContainsFold predicate on the "credit_card" field.
func CreditCardEQ ¶
CreditCardEQ applies the EQ predicate on the "credit_card" field.
func CreditCardEqualFold ¶
CreditCardEqualFold applies the EqualFold predicate on the "credit_card" field.
func CreditCardGT ¶
CreditCardGT applies the GT predicate on the "credit_card" field.
func CreditCardGTE ¶
CreditCardGTE applies the GTE predicate on the "credit_card" field.
func CreditCardHasPrefix ¶
CreditCardHasPrefix applies the HasPrefix predicate on the "credit_card" field.
func CreditCardHasSuffix ¶
CreditCardHasSuffix applies the HasSuffix predicate on the "credit_card" field.
func CreditCardIn ¶
CreditCardIn applies the In predicate on the "credit_card" field.
func CreditCardIsNil ¶
CreditCardIsNil applies the IsNil predicate on the "credit_card" field.
func CreditCardLT ¶
CreditCardLT applies the LT predicate on the "credit_card" field.
func CreditCardLTE ¶
CreditCardLTE applies the LTE predicate on the "credit_card" field.
func CreditCardNEQ ¶
CreditCardNEQ applies the NEQ predicate on the "credit_card" field.
func CreditCardNotIn ¶
CreditCardNotIn applies the NotIn predicate on the "credit_card" field.
func CreditCardNotNil ¶
CreditCardNotNil applies the NotNil predicate on the "credit_card" field.
func HasRidesWith ¶
HasRidesWith applies the HasEdge predicate on the "rides" edge with a given conditions (other predicates).
func HasUserPromoCodes ¶
HasUserPromoCodes applies the HasEdge predicate on the "user_promo_codes" edge.
func HasUserPromoCodesWith ¶
func HasUserPromoCodesWith(preds ...predicate.UserPromoCode) predicate.User
HasUserPromoCodesWith applies the HasEdge predicate on the "user_promo_codes" edge with a given conditions (other predicates).
func HasVehicles ¶
HasVehicles applies the HasEdge predicate on the "vehicles" edge.
func HasVehiclesWith ¶
HasVehiclesWith applies the HasEdge predicate on the "vehicles" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.