groupinfo

package
v0.1.5-0...-40e571d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 4 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 vertex property in the database.
	FieldDesc     = "desc" // FieldMaxUsers holds the string denoting the max_users vertex property in the database.
	FieldMaxUsers = "max_users"

	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"

	// GroupsInverseLabel holds the string label denoting the groups inverse edge type in the database.
	GroupsInverseLabel = "group_info"
)

Variables

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 list of 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 DescEQ

func DescEQ(v string) predicate.GroupInfo

DescEQ applies the EQ 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 string) predicate.GroupInfo

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id string) predicate.GroupInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.GroupInfo

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.GroupInfo

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.GroupInfo

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.GroupInfo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.GroupInfo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) 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 list of predicates with the OR operator between them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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