group

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the group type in the database.
	Label = "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"
	// FieldGroupname holds the string denoting the groupname field in the database.
	FieldGroupname = "groupname"
	// 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"
	// FieldDeleteTime holds the string denoting the delete_time field in the database.
	FieldDeleteTime = "delete_time"
	// Table holds the table name of the group in the database.
	Table = "group"
)

Variables

View Source
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
	// GroupnameValidator is a validator for the "groupname" field. It is called by the builders before save.
	GroupnameValidator 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
)

Columns holds all SQL columns for group fields.

Functions

func Address

func Address(v string) predicate.Group

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.Group

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.Group

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.Group

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.Group

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.Group

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.Group

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.Group

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.Group

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.Group

AddressIn applies the In predicate on the "address" field.

func AddressIsNil

func AddressIsNil() predicate.Group

AddressIsNil applies the IsNil predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.Group

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.Group

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.Group

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.Group

AddressNotIn applies the NotIn predicate on the "address" field.

func AddressNotNil

func AddressNotNil() predicate.Group

AddressNotNil applies the NotNil predicate on the "address" field.

func And

func And(predicates ...predicate.Group) predicate.Group

And groups predicates with the AND operator between them.

func AvatarURL added in v1.0.6

func AvatarURL(v string) predicate.Group

AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.

func AvatarURLContains added in v1.0.6

func AvatarURLContains(v string) predicate.Group

AvatarURLContains applies the Contains predicate on the "avatar_url" field.

func AvatarURLContainsFold added in v1.0.6

func AvatarURLContainsFold(v string) predicate.Group

AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.

func AvatarURLEQ added in v1.0.6

func AvatarURLEQ(v string) predicate.Group

AvatarURLEQ applies the EQ predicate on the "avatar_url" field.

func AvatarURLEqualFold added in v1.0.6

func AvatarURLEqualFold(v string) predicate.Group

AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.

func AvatarURLGT added in v1.0.6

func AvatarURLGT(v string) predicate.Group

AvatarURLGT applies the GT predicate on the "avatar_url" field.

func AvatarURLGTE added in v1.0.6

func AvatarURLGTE(v string) predicate.Group

AvatarURLGTE applies the GTE predicate on the "avatar_url" field.

func AvatarURLHasPrefix added in v1.0.6

func AvatarURLHasPrefix(v string) predicate.Group

AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.

func AvatarURLHasSuffix added in v1.0.6

func AvatarURLHasSuffix(v string) predicate.Group

AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.

func AvatarURLIn added in v1.0.6

func AvatarURLIn(vs ...string) predicate.Group

AvatarURLIn applies the In predicate on the "avatar_url" field.

func AvatarURLIsNil added in v1.0.6

func AvatarURLIsNil() predicate.Group

AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.

func AvatarURLLT added in v1.0.6

func AvatarURLLT(v string) predicate.Group

AvatarURLLT applies the LT predicate on the "avatar_url" field.

func AvatarURLLTE added in v1.0.6

func AvatarURLLTE(v string) predicate.Group

AvatarURLLTE applies the LTE predicate on the "avatar_url" field.

func AvatarURLNEQ added in v1.0.6

func AvatarURLNEQ(v string) predicate.Group

AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.

func AvatarURLNotIn added in v1.0.6

func AvatarURLNotIn(vs ...string) predicate.Group

AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.

func AvatarURLNotNil added in v1.0.6

func AvatarURLNotNil() predicate.Group

AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.

func CreateTime

func CreateTime(v time.Time) predicate.Group

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Group

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Group

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Group

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.Group

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Group

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Group

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Group

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.Group

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func DeleteTime

func DeleteTime(v time.Time) predicate.Group

DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.

func DeleteTimeEQ

func DeleteTimeEQ(v time.Time) predicate.Group

DeleteTimeEQ applies the EQ predicate on the "delete_time" field.

func DeleteTimeGT

func DeleteTimeGT(v time.Time) predicate.Group

DeleteTimeGT applies the GT predicate on the "delete_time" field.

func DeleteTimeGTE

func DeleteTimeGTE(v time.Time) predicate.Group

DeleteTimeGTE applies the GTE predicate on the "delete_time" field.

func DeleteTimeIn

func DeleteTimeIn(vs ...time.Time) predicate.Group

DeleteTimeIn applies the In predicate on the "delete_time" field.

func DeleteTimeIsNil

func DeleteTimeIsNil() predicate.Group

DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.

func DeleteTimeLT

func DeleteTimeLT(v time.Time) predicate.Group

DeleteTimeLT applies the LT predicate on the "delete_time" field.

func DeleteTimeLTE

func DeleteTimeLTE(v time.Time) predicate.Group

DeleteTimeLTE applies the LTE predicate on the "delete_time" field.

func DeleteTimeNEQ

func DeleteTimeNEQ(v time.Time) predicate.Group

DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.

func DeleteTimeNotIn

func DeleteTimeNotIn(vs ...time.Time) predicate.Group

DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.

func DeleteTimeNotNil

func DeleteTimeNotNil() predicate.Group

DeleteTimeNotNil applies the NotNil predicate on the "delete_time" field.

func Groupname

func Groupname(v string) predicate.Group

Groupname applies equality check predicate on the "groupname" field. It's identical to GroupnameEQ.

func GroupnameContains

func GroupnameContains(v string) predicate.Group

GroupnameContains applies the Contains predicate on the "groupname" field.

func GroupnameContainsFold

func GroupnameContainsFold(v string) predicate.Group

GroupnameContainsFold applies the ContainsFold predicate on the "groupname" field.

func GroupnameEQ

func GroupnameEQ(v string) predicate.Group

GroupnameEQ applies the EQ predicate on the "groupname" field.

func GroupnameEqualFold

func GroupnameEqualFold(v string) predicate.Group

GroupnameEqualFold applies the EqualFold predicate on the "groupname" field.

func GroupnameGT

func GroupnameGT(v string) predicate.Group

GroupnameGT applies the GT predicate on the "groupname" field.

func GroupnameGTE

func GroupnameGTE(v string) predicate.Group

GroupnameGTE applies the GTE predicate on the "groupname" field.

func GroupnameHasPrefix

func GroupnameHasPrefix(v string) predicate.Group

GroupnameHasPrefix applies the HasPrefix predicate on the "groupname" field.

func GroupnameHasSuffix

func GroupnameHasSuffix(v string) predicate.Group

GroupnameHasSuffix applies the HasSuffix predicate on the "groupname" field.

func GroupnameIn

func GroupnameIn(vs ...string) predicate.Group

GroupnameIn applies the In predicate on the "groupname" field.

func GroupnameLT

func GroupnameLT(v string) predicate.Group

GroupnameLT applies the LT predicate on the "groupname" field.

func GroupnameLTE

func GroupnameLTE(v string) predicate.Group

GroupnameLTE applies the LTE predicate on the "groupname" field.

func GroupnameNEQ

func GroupnameNEQ(v string) predicate.Group

GroupnameNEQ applies the NEQ predicate on the "groupname" field.

func GroupnameNotIn

func GroupnameNotIn(vs ...string) predicate.Group

GroupnameNotIn applies the NotIn predicate on the "groupname" field.

func Homepage

func Homepage(v string) predicate.Group

Homepage applies equality check predicate on the "homepage" field. It's identical to HomepageEQ.

func HomepageContains

func HomepageContains(v string) predicate.Group

HomepageContains applies the Contains predicate on the "homepage" field.

func HomepageContainsFold

func HomepageContainsFold(v string) predicate.Group

HomepageContainsFold applies the ContainsFold predicate on the "homepage" field.

func HomepageEQ

func HomepageEQ(v string) predicate.Group

HomepageEQ applies the EQ predicate on the "homepage" field.

func HomepageEqualFold

func HomepageEqualFold(v string) predicate.Group

HomepageEqualFold applies the EqualFold predicate on the "homepage" field.

func HomepageGT

func HomepageGT(v string) predicate.Group

HomepageGT applies the GT predicate on the "homepage" field.

func HomepageGTE

func HomepageGTE(v string) predicate.Group

HomepageGTE applies the GTE predicate on the "homepage" field.

func HomepageHasPrefix

func HomepageHasPrefix(v string) predicate.Group

HomepageHasPrefix applies the HasPrefix predicate on the "homepage" field.

func HomepageHasSuffix

func HomepageHasSuffix(v string) predicate.Group

HomepageHasSuffix applies the HasSuffix predicate on the "homepage" field.

func HomepageIn

func HomepageIn(vs ...string) predicate.Group

HomepageIn applies the In predicate on the "homepage" field.

func HomepageIsNil

func HomepageIsNil() predicate.Group

HomepageIsNil applies the IsNil predicate on the "homepage" field.

func HomepageLT

func HomepageLT(v string) predicate.Group

HomepageLT applies the LT predicate on the "homepage" field.

func HomepageLTE

func HomepageLTE(v string) predicate.Group

HomepageLTE applies the LTE predicate on the "homepage" field.

func HomepageNEQ

func HomepageNEQ(v string) predicate.Group

HomepageNEQ applies the NEQ predicate on the "homepage" field.

func HomepageNotIn

func HomepageNotIn(vs ...string) predicate.Group

HomepageNotIn applies the NotIn predicate on the "homepage" field.

func HomepageNotNil

func HomepageNotNil() predicate.Group

HomepageNotNil applies the NotNil predicate on the "homepage" field.

func ID

func ID(id int) predicate.Group

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Group

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Group

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Group

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Group

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Group

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Group

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Group

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Group

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Group) predicate.Group

Or groups predicates with the OR operator between them.

func Sn

func Sn(v string) predicate.Group

Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.

func SnContains

func SnContains(v string) predicate.Group

SnContains applies the Contains predicate on the "sn" field.

func SnContainsFold

func SnContainsFold(v string) predicate.Group

SnContainsFold applies the ContainsFold predicate on the "sn" field.

func SnEQ

func SnEQ(v string) predicate.Group

SnEQ applies the EQ predicate on the "sn" field.

func SnEqualFold

func SnEqualFold(v string) predicate.Group

SnEqualFold applies the EqualFold predicate on the "sn" field.

func SnGT

func SnGT(v string) predicate.Group

SnGT applies the GT predicate on the "sn" field.

func SnGTE

func SnGTE(v string) predicate.Group

SnGTE applies the GTE predicate on the "sn" field.

func SnHasPrefix

func SnHasPrefix(v string) predicate.Group

SnHasPrefix applies the HasPrefix predicate on the "sn" field.

func SnHasSuffix

func SnHasSuffix(v string) predicate.Group

SnHasSuffix applies the HasSuffix predicate on the "sn" field.

func SnIn

func SnIn(vs ...string) predicate.Group

SnIn applies the In predicate on the "sn" field.

func SnLT

func SnLT(v string) predicate.Group

SnLT applies the LT predicate on the "sn" field.

func SnLTE

func SnLTE(v string) predicate.Group

SnLTE applies the LTE predicate on the "sn" field.

func SnNEQ

func SnNEQ(v string) predicate.Group

SnNEQ applies the NEQ predicate on the "sn" field.

func SnNotIn

func SnNotIn(vs ...string) predicate.Group

SnNotIn applies the NotIn predicate on the "sn" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.Group

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Group

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Group

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Group

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.Group

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Group

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Group

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Group

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.Group

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL