Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Car) predicate.Car
- func HasOwner() predicate.Car
- func HasOwnerWith(preds ...predicate.Pet) predicate.Car
- func ID(id int) predicate.Car
- func IDEQ(id int) predicate.Car
- func IDGT(id int) predicate.Car
- func IDGTE(id int) predicate.Car
- func IDIn(ids ...int) predicate.Car
- func IDLT(id int) predicate.Car
- func IDLTE(id int) predicate.Car
- func IDNEQ(id int) predicate.Car
- func IDNotIn(ids ...int) predicate.Car
- func Model(v string) predicate.Car
- func ModelContains(v string) predicate.Car
- func ModelContainsFold(v string) predicate.Car
- func ModelEQ(v string) predicate.Car
- func ModelEqualFold(v string) predicate.Car
- func ModelGT(v string) predicate.Car
- func ModelGTE(v string) predicate.Car
- func ModelHasPrefix(v string) predicate.Car
- func ModelHasSuffix(v string) predicate.Car
- func ModelIn(vs ...string) predicate.Car
- func ModelLT(v string) predicate.Car
- func ModelLTE(v string) predicate.Car
- func ModelNEQ(v string) predicate.Car
- func ModelNotIn(vs ...string) predicate.Car
- func Not(p predicate.Car) predicate.Car
- func Or(predicates ...predicate.Car) predicate.Car
Constants ¶
const ( // Label holds the string label denoting the car type in the database. Label = "car" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldModel holds the string denoting the model vertex property in the database. FieldModel = "model" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the car in the database. Table = "cars" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "cars" // OwnerInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. OwnerInverseTable = "pets" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "pet_cars" )
Variables ¶
var Columns = []string{ FieldID, FieldModel, }
Columns holds all SQL columns for car fields.
var ForeignKeys = []string{
"pet_cars",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Car type.
Functions ¶
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func Model ¶
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEqualFold ¶
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelHasPrefix ¶
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelNotIn ¶
ModelNotIn applies the NotIn predicate on the "model" field.
Types ¶
This section is empty.