groupinfo

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the groupinfo type in the database.
	Label = "group_info"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDesc holds the string denoting the desc field in the database.
	FieldDesc = "desc"
	// FieldMaxUsers holds the string denoting the max_users field in the database.
	FieldMaxUsers = "max_users"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// Table holds the table name of the groupinfo in the database.
	Table = "group_infos"
	// GroupsTable is the table the holds the groups relation/edge.
	GroupsTable = "groups"
	// GroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupsInverseTable = "groups"
	// GroupsColumn is the table column denoting the groups relation/edge.
	GroupsColumn = "group_info"
)

Variables

Columns holds all SQL columns for groupinfo fields.

View Source
var (
	// DefaultMaxUsers holds the default value on creation for the "max_users" field.
	DefaultMaxUsers int
)

Functions

func And

func And(predicates ...predicate.GroupInfo) predicate.GroupInfo

And groups predicates with the AND operator between them.

func Desc

func Desc(v string) predicate.GroupInfo

Desc applies equality check predicate on the "desc" field. It's identical to DescEQ.

func DescContains

func DescContains(v string) predicate.GroupInfo

DescContains applies the Contains predicate on the "desc" field.

func DescContainsFold

func DescContainsFold(v string) predicate.GroupInfo

DescContainsFold applies the ContainsFold predicate on the "desc" field.

func DescEQ

func DescEQ(v string) predicate.GroupInfo

DescEQ applies the EQ predicate on the "desc" field.

func DescEqualFold

func DescEqualFold(v string) predicate.GroupInfo

DescEqualFold applies the EqualFold predicate on the "desc" field.

func DescGT

func DescGT(v string) predicate.GroupInfo

DescGT applies the GT predicate on the "desc" field.

func DescGTE

func DescGTE(v string) predicate.GroupInfo

DescGTE applies the GTE predicate on the "desc" field.

func DescHasPrefix

func DescHasPrefix(v string) predicate.GroupInfo

DescHasPrefix applies the HasPrefix predicate on the "desc" field.

func DescHasSuffix

func DescHasSuffix(v string) predicate.GroupInfo

DescHasSuffix applies the HasSuffix predicate on the "desc" field.

func DescIn

func DescIn(vs ...string) predicate.GroupInfo

DescIn applies the In predicate on the "desc" field.

func DescLT

func DescLT(v string) predicate.GroupInfo

DescLT applies the LT predicate on the "desc" field.

func DescLTE

func DescLTE(v string) predicate.GroupInfo

DescLTE applies the LTE predicate on the "desc" field.

func DescNEQ

func DescNEQ(v string) predicate.GroupInfo

DescNEQ applies the NEQ predicate on the "desc" field.

func DescNotIn

func DescNotIn(vs ...string) predicate.GroupInfo

DescNotIn applies the NotIn predicate on the "desc" field.

func HasGroups

func HasGroups() predicate.GroupInfo

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Group) predicate.GroupInfo

HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.GroupInfo

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.GroupInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.GroupInfo

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.GroupInfo

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.GroupInfo

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.GroupInfo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.GroupInfo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MaxUsers

func MaxUsers(v int) predicate.GroupInfo

MaxUsers applies equality check predicate on the "max_users" field. It's identical to MaxUsersEQ.

func MaxUsersEQ

func MaxUsersEQ(v int) predicate.GroupInfo

MaxUsersEQ applies the EQ predicate on the "max_users" field.

func MaxUsersGT

func MaxUsersGT(v int) predicate.GroupInfo

MaxUsersGT applies the GT predicate on the "max_users" field.

func MaxUsersGTE

func MaxUsersGTE(v int) predicate.GroupInfo

MaxUsersGTE applies the GTE predicate on the "max_users" field.

func MaxUsersIn

func MaxUsersIn(vs ...int) predicate.GroupInfo

MaxUsersIn applies the In predicate on the "max_users" field.

func MaxUsersLT

func MaxUsersLT(v int) predicate.GroupInfo

MaxUsersLT applies the LT predicate on the "max_users" field.

func MaxUsersLTE

func MaxUsersLTE(v int) predicate.GroupInfo

MaxUsersLTE applies the LTE predicate on the "max_users" field.

func MaxUsersNEQ

func MaxUsersNEQ(v int) predicate.GroupInfo

MaxUsersNEQ applies the NEQ predicate on the "max_users" field.

func MaxUsersNotIn

func MaxUsersNotIn(vs ...int) predicate.GroupInfo

MaxUsersNotIn applies the NotIn predicate on the "max_users" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GroupInfo) predicate.GroupInfo

Or groups predicates with the OR operator between them.

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