Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.UserGroup
- func AddressContains(v string) predicate.UserGroup
- func AddressContainsFold(v string) predicate.UserGroup
- func AddressEQ(v string) predicate.UserGroup
- func AddressEqualFold(v string) predicate.UserGroup
- func AddressGT(v string) predicate.UserGroup
- func AddressGTE(v string) predicate.UserGroup
- func AddressHasPrefix(v string) predicate.UserGroup
- func AddressHasSuffix(v string) predicate.UserGroup
- func AddressIn(vs ...string) predicate.UserGroup
- func AddressIsNil() predicate.UserGroup
- func AddressLT(v string) predicate.UserGroup
- func AddressLTE(v string) predicate.UserGroup
- func AddressNEQ(v string) predicate.UserGroup
- func AddressNotIn(vs ...string) predicate.UserGroup
- func AddressNotNil() predicate.UserGroup
- func And(predicates ...predicate.UserGroup) predicate.UserGroup
- func AvatarURL(v string) predicate.UserGroup
- func AvatarURLContains(v string) predicate.UserGroup
- func AvatarURLContainsFold(v string) predicate.UserGroup
- func AvatarURLEQ(v string) predicate.UserGroup
- func AvatarURLEqualFold(v string) predicate.UserGroup
- func AvatarURLGT(v string) predicate.UserGroup
- func AvatarURLGTE(v string) predicate.UserGroup
- func AvatarURLHasPrefix(v string) predicate.UserGroup
- func AvatarURLHasSuffix(v string) predicate.UserGroup
- func AvatarURLIn(vs ...string) predicate.UserGroup
- func AvatarURLIsNil() predicate.UserGroup
- func AvatarURLLT(v string) predicate.UserGroup
- func AvatarURLLTE(v string) predicate.UserGroup
- func AvatarURLNEQ(v string) predicate.UserGroup
- func AvatarURLNotIn(vs ...string) predicate.UserGroup
- func AvatarURLNotNil() predicate.UserGroup
- func CreateTime(v time.Time) predicate.UserGroup
- func CreateTimeEQ(v time.Time) predicate.UserGroup
- func CreateTimeGT(v time.Time) predicate.UserGroup
- func CreateTimeGTE(v time.Time) predicate.UserGroup
- func CreateTimeIn(vs ...time.Time) predicate.UserGroup
- func CreateTimeLT(v time.Time) predicate.UserGroup
- func CreateTimeLTE(v time.Time) predicate.UserGroup
- func CreateTimeNEQ(v time.Time) predicate.UserGroup
- func CreateTimeNotIn(vs ...time.Time) predicate.UserGroup
- func HasUsers() predicate.UserGroup
- func HasUsersWith(preds ...predicate.User) predicate.UserGroup
- func Homepage(v string) predicate.UserGroup
- func HomepageContains(v string) predicate.UserGroup
- func HomepageContainsFold(v string) predicate.UserGroup
- func HomepageEQ(v string) predicate.UserGroup
- func HomepageEqualFold(v string) predicate.UserGroup
- func HomepageGT(v string) predicate.UserGroup
- func HomepageGTE(v string) predicate.UserGroup
- func HomepageHasPrefix(v string) predicate.UserGroup
- func HomepageHasSuffix(v string) predicate.UserGroup
- func HomepageIn(vs ...string) predicate.UserGroup
- func HomepageIsNil() predicate.UserGroup
- func HomepageLT(v string) predicate.UserGroup
- func HomepageLTE(v string) predicate.UserGroup
- func HomepageNEQ(v string) predicate.UserGroup
- func HomepageNotIn(vs ...string) predicate.UserGroup
- func HomepageNotNil() predicate.UserGroup
- func ID(id int) predicate.UserGroup
- func IDEQ(id int) predicate.UserGroup
- func IDGT(id int) predicate.UserGroup
- func IDGTE(id int) predicate.UserGroup
- func IDIn(ids ...int) predicate.UserGroup
- func IDLT(id int) predicate.UserGroup
- func IDLTE(id int) predicate.UserGroup
- func IDNEQ(id int) predicate.UserGroup
- func IDNotIn(ids ...int) predicate.UserGroup
- func Name(v string) predicate.UserGroup
- func NameContains(v string) predicate.UserGroup
- func NameContainsFold(v string) predicate.UserGroup
- func NameEQ(v string) predicate.UserGroup
- func NameEqualFold(v string) predicate.UserGroup
- func NameGT(v string) predicate.UserGroup
- func NameGTE(v string) predicate.UserGroup
- func NameHasPrefix(v string) predicate.UserGroup
- func NameHasSuffix(v string) predicate.UserGroup
- func NameIn(vs ...string) predicate.UserGroup
- func NameLT(v string) predicate.UserGroup
- func NameLTE(v string) predicate.UserGroup
- func NameNEQ(v string) predicate.UserGroup
- func NameNotIn(vs ...string) predicate.UserGroup
- func Not(p predicate.UserGroup) predicate.UserGroup
- func Or(predicates ...predicate.UserGroup) predicate.UserGroup
- func Sn(v string) predicate.UserGroup
- func SnContains(v string) predicate.UserGroup
- func SnContainsFold(v string) predicate.UserGroup
- func SnEQ(v string) predicate.UserGroup
- func SnEqualFold(v string) predicate.UserGroup
- func SnGT(v string) predicate.UserGroup
- func SnGTE(v string) predicate.UserGroup
- func SnHasPrefix(v string) predicate.UserGroup
- func SnHasSuffix(v string) predicate.UserGroup
- func SnIn(vs ...string) predicate.UserGroup
- func SnLT(v string) predicate.UserGroup
- func SnLTE(v string) predicate.UserGroup
- func SnNEQ(v string) predicate.UserGroup
- func SnNotIn(vs ...string) predicate.UserGroup
- func UpdateTime(v time.Time) predicate.UserGroup
- func UpdateTimeEQ(v time.Time) predicate.UserGroup
- func UpdateTimeGT(v time.Time) predicate.UserGroup
- func UpdateTimeGTE(v time.Time) predicate.UserGroup
- func UpdateTimeIn(vs ...time.Time) predicate.UserGroup
- func UpdateTimeLT(v time.Time) predicate.UserGroup
- func UpdateTimeLTE(v time.Time) predicate.UserGroup
- func UpdateTimeNEQ(v time.Time) predicate.UserGroup
- func UpdateTimeNotIn(vs ...time.Time) predicate.UserGroup
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the usergroup type in the database. Label = "user_group" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSn holds the string denoting the sn field in the database. FieldSn = "sn" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldHomepage holds the string denoting the homepage field in the database. FieldHomepage = "homepage" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // Table holds the table name of the usergroup in the database. Table = "user_group" // UsersTable is the table the holds the users relation/edge. The primary key declared below. UsersTable = "user_group_users" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "user_profile" )
Variables ¶
var ( // DefaultSn holds the default value on creation for the "sn" field. DefaultSn func() string // SnValidator is a validator for the "sn" field. It is called by the builders before save. SnValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // AvatarURLValidator is a validator for the "avatar_url" field. It is called by the builders before save. AvatarURLValidator func(string) error // HomepageValidator is a validator for the "homepage" field. It is called by the builders before save. HomepageValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldSn, FieldName, FieldAvatarURL, FieldAddress, FieldHomepage, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for usergroup fields.
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_group_id", "user_id"} )
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 AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func Homepage ¶
Homepage applies equality check predicate on the "homepage" field. It's identical to HomepageEQ.
func HomepageContains ¶
HomepageContains applies the Contains predicate on the "homepage" field.
func HomepageContainsFold ¶
HomepageContainsFold applies the ContainsFold predicate on the "homepage" field.
func HomepageEQ ¶
HomepageEQ applies the EQ predicate on the "homepage" field.
func HomepageEqualFold ¶
HomepageEqualFold applies the EqualFold predicate on the "homepage" field.
func HomepageGT ¶
HomepageGT applies the GT predicate on the "homepage" field.
func HomepageGTE ¶
HomepageGTE applies the GTE predicate on the "homepage" field.
func HomepageHasPrefix ¶
HomepageHasPrefix applies the HasPrefix predicate on the "homepage" field.
func HomepageHasSuffix ¶
HomepageHasSuffix applies the HasSuffix predicate on the "homepage" field.
func HomepageIn ¶
HomepageIn applies the In predicate on the "homepage" field.
func HomepageIsNil ¶
HomepageIsNil applies the IsNil predicate on the "homepage" field.
func HomepageLT ¶
HomepageLT applies the LT predicate on the "homepage" field.
func HomepageLTE ¶
HomepageLTE applies the LTE predicate on the "homepage" field.
func HomepageNEQ ¶
HomepageNEQ applies the NEQ predicate on the "homepage" field.
func HomepageNotIn ¶
HomepageNotIn applies the NotIn predicate on the "homepage" field.
func HomepageNotNil ¶
HomepageNotNil applies the NotNil predicate on the "homepage" 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 SnContains ¶
SnContains applies the Contains predicate on the "sn" field.
func SnContainsFold ¶
SnContainsFold applies the ContainsFold predicate on the "sn" field.
func SnEqualFold ¶
SnEqualFold applies the EqualFold predicate on the "sn" field.
func SnHasPrefix ¶
SnHasPrefix applies the HasPrefix predicate on the "sn" field.
func SnHasSuffix ¶
SnHasSuffix applies the HasSuffix predicate on the "sn" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.