Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Address
- func AddressContains(v string) predicate.Address
- func AddressContainsFold(v string) predicate.Address
- func AddressEQ(v string) predicate.Address
- func AddressEqualFold(v string) predicate.Address
- func AddressGT(v string) predicate.Address
- func AddressGTE(v string) predicate.Address
- func AddressHasPrefix(v string) predicate.Address
- func AddressHasSuffix(v string) predicate.Address
- func AddressIn(vs ...string) predicate.Address
- func AddressLT(v string) predicate.Address
- func AddressLTE(v string) predicate.Address
- func AddressNEQ(v string) predicate.Address
- func AddressNotIn(vs ...string) predicate.Address
- func And(predicates ...predicate.Address) predicate.Address
- func CreatedAt(v time.Time) predicate.Address
- func CreatedAtEQ(v time.Time) predicate.Address
- func CreatedAtGT(v time.Time) predicate.Address
- func CreatedAtGTE(v time.Time) predicate.Address
- func CreatedAtIn(vs ...time.Time) predicate.Address
- func CreatedAtLT(v time.Time) predicate.Address
- func CreatedAtLTE(v time.Time) predicate.Address
- func CreatedAtNEQ(v time.Time) predicate.Address
- func CreatedAtNotIn(vs ...time.Time) predicate.Address
- func HasUser() predicate.Address
- func HasUserWith(preds ...predicate.User) predicate.Address
- func ID(id int64) predicate.Address
- func IDEQ(id int64) predicate.Address
- func IDGT(id int64) predicate.Address
- func IDGTE(id int64) predicate.Address
- func IDIn(ids ...int64) predicate.Address
- func IDLT(id int64) predicate.Address
- func IDLTE(id int64) predicate.Address
- func IDNEQ(id int64) predicate.Address
- func IDNotIn(ids ...int64) predicate.Address
- func Mobile(v string) predicate.Address
- func MobileContains(v string) predicate.Address
- func MobileContainsFold(v string) predicate.Address
- func MobileEQ(v string) predicate.Address
- func MobileEqualFold(v string) predicate.Address
- func MobileGT(v string) predicate.Address
- func MobileGTE(v string) predicate.Address
- func MobileHasPrefix(v string) predicate.Address
- func MobileHasSuffix(v string) predicate.Address
- func MobileIn(vs ...string) predicate.Address
- func MobileLT(v string) predicate.Address
- func MobileLTE(v string) predicate.Address
- func MobileNEQ(v string) predicate.Address
- func MobileNotIn(vs ...string) predicate.Address
- func Name(v string) predicate.Address
- func NameContains(v string) predicate.Address
- func NameContainsFold(v string) predicate.Address
- func NameEQ(v string) predicate.Address
- func NameEqualFold(v string) predicate.Address
- func NameGT(v string) predicate.Address
- func NameGTE(v string) predicate.Address
- func NameHasPrefix(v string) predicate.Address
- func NameHasSuffix(v string) predicate.Address
- func NameIn(vs ...string) predicate.Address
- func NameLT(v string) predicate.Address
- func NameLTE(v string) predicate.Address
- func NameNEQ(v string) predicate.Address
- func NameNotIn(vs ...string) predicate.Address
- func Not(p predicate.Address) predicate.Address
- func Or(predicates ...predicate.Address) predicate.Address
- func PostCode(v string) predicate.Address
- func PostCodeContains(v string) predicate.Address
- func PostCodeContainsFold(v string) predicate.Address
- func PostCodeEQ(v string) predicate.Address
- func PostCodeEqualFold(v string) predicate.Address
- func PostCodeGT(v string) predicate.Address
- func PostCodeGTE(v string) predicate.Address
- func PostCodeHasPrefix(v string) predicate.Address
- func PostCodeHasSuffix(v string) predicate.Address
- func PostCodeIn(vs ...string) predicate.Address
- func PostCodeLT(v string) predicate.Address
- func PostCodeLTE(v string) predicate.Address
- func PostCodeNEQ(v string) predicate.Address
- func PostCodeNotIn(vs ...string) predicate.Address
- func UpdatedAt(v time.Time) predicate.Address
- func UpdatedAtEQ(v time.Time) predicate.Address
- func UpdatedAtGT(v time.Time) predicate.Address
- func UpdatedAtGTE(v time.Time) predicate.Address
- func UpdatedAtIn(vs ...time.Time) predicate.Address
- func UpdatedAtLT(v time.Time) predicate.Address
- func UpdatedAtLTE(v time.Time) predicate.Address
- func UpdatedAtNEQ(v time.Time) predicate.Address
- func UpdatedAtNotIn(vs ...time.Time) predicate.Address
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the address type in the database. Label = "address" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldPostCode holds the string denoting the post_code field in the database. FieldPostCode = "post_code" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeUser holds the string denoting the server edge name in mutations. EdgeUser = "server" // Table holds the table name of the address in the database. Table = "addresses" // UserTable is the table that holds the server relation/edge. UserTable = "addresses" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "server" package. UserInverseTable = "users" // UserColumn is the table column denoting the server relation/edge. UserColumn = "user_addresses" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldName, FieldMobile, FieldAddress, FieldPostCode, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for address fields.
var ForeignKeys = []string{
"user_addresses",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "addresses" table and are not defined as standalone fields in the schema.
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 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 CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "server" edge with a given conditions (other predicates).
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileContains ¶
MobileContains applies the Contains predicate on the "mobile" field.
func MobileContainsFold ¶
MobileContainsFold applies the ContainsFold predicate on the "mobile" field.
func MobileEqualFold ¶
MobileEqualFold applies the EqualFold predicate on the "mobile" field.
func MobileHasPrefix ¶
MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.
func MobileHasSuffix ¶
MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.
func MobileNotIn ¶
MobileNotIn applies the NotIn predicate on the "mobile" field.
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 PostCode ¶
PostCode applies equality check predicate on the "post_code" field. It's identical to PostCodeEQ.
func PostCodeContains ¶
PostCodeContains applies the Contains predicate on the "post_code" field.
func PostCodeContainsFold ¶
PostCodeContainsFold applies the ContainsFold predicate on the "post_code" field.
func PostCodeEQ ¶
PostCodeEQ applies the EQ predicate on the "post_code" field.
func PostCodeEqualFold ¶
PostCodeEqualFold applies the EqualFold predicate on the "post_code" field.
func PostCodeGT ¶
PostCodeGT applies the GT predicate on the "post_code" field.
func PostCodeGTE ¶
PostCodeGTE applies the GTE predicate on the "post_code" field.
func PostCodeHasPrefix ¶
PostCodeHasPrefix applies the HasPrefix predicate on the "post_code" field.
func PostCodeHasSuffix ¶
PostCodeHasSuffix applies the HasSuffix predicate on the "post_code" field.
func PostCodeIn ¶
PostCodeIn applies the In predicate on the "post_code" field.
func PostCodeLT ¶
PostCodeLT applies the LT predicate on the "post_code" field.
func PostCodeLTE ¶
PostCodeLTE applies the LTE predicate on the "post_code" field.
func PostCodeNEQ ¶
PostCodeNEQ applies the NEQ predicate on the "post_code" field.
func PostCodeNotIn ¶
PostCodeNotIn applies the NotIn predicate on the "post_code" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.