ent: github.com/facebookincubator/ent/entc/integration/ent/groupinfo Index | Files

package groupinfo

import "github.com/facebookincubator/ent/entc/integration/ent/groupinfo"

Index

Package Files

groupinfo.go where.go

Constants

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"

    // 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 = "info_id"

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

Variables

var Columns = []string{
    FieldID,
    FieldDesc,
    FieldMaxUsers,
}

Columns holds all SQL columns are groupinfo fields.

var (

    // DefaultMaxUsers holds the default value on creation for the max_users field.
    DefaultMaxUsers = descMaxUsers.Default.(int)
)

func And Uses

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

And groups list of predicates with the AND operator between them.

func Desc Uses

func Desc(v string) predicate.GroupInfo

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

func DescContains Uses

func DescContains(v string) predicate.GroupInfo

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

func DescEQ Uses

func DescEQ(v string) predicate.GroupInfo

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

func DescGT Uses

func DescGT(v string) predicate.GroupInfo

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

func DescGTE Uses

func DescGTE(v string) predicate.GroupInfo

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

func DescHasPrefix Uses

func DescHasPrefix(v string) predicate.GroupInfo

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

func DescHasSuffix Uses

func DescHasSuffix(v string) predicate.GroupInfo

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

func DescIn Uses

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

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

func DescLT Uses

func DescLT(v string) predicate.GroupInfo

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

func DescLTE Uses

func DescLTE(v string) predicate.GroupInfo

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

func DescNEQ Uses

func DescNEQ(v string) predicate.GroupInfo

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

func DescNotIn Uses

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

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

func HasGroups Uses

func HasGroups() predicate.GroupInfo

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

func HasGroupsWith Uses

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

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

func ID Uses

func ID(id string) predicate.GroupInfo

ID filters vertices based on their identifier.

func IDEQ Uses

func IDEQ(id string) predicate.GroupInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT Uses

func IDGT(id string) predicate.GroupInfo

IDGT applies the GT predicate on the ID field.

func IDGTE Uses

func IDGTE(id string) predicate.GroupInfo

IDGTE applies the GTE predicate on the ID field.

func IDIn Uses

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

IDIn applies the In predicate on the ID field.

func IDLT Uses

func IDLT(id string) predicate.GroupInfo

IDLT applies the LT predicate on the ID field.

func IDLTE Uses

func IDLTE(id string) predicate.GroupInfo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ Uses

func IDNEQ(id string) predicate.GroupInfo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn Uses

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

IDNotIn applies the NotIn predicate on the ID field.

func MaxUsers Uses

func MaxUsers(v int) predicate.GroupInfo

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

func MaxUsersEQ Uses

func MaxUsersEQ(v int) predicate.GroupInfo

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

func MaxUsersGT Uses

func MaxUsersGT(v int) predicate.GroupInfo

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

func MaxUsersGTE Uses

func MaxUsersGTE(v int) predicate.GroupInfo

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

func MaxUsersIn Uses

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

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

func MaxUsersLT Uses

func MaxUsersLT(v int) predicate.GroupInfo

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

func MaxUsersLTE Uses

func MaxUsersLTE(v int) predicate.GroupInfo

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

func MaxUsersNEQ Uses

func MaxUsersNEQ(v int) predicate.GroupInfo

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

func MaxUsersNotIn Uses

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

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

func Not Uses

func Not(p predicate.GroupInfo) predicate.GroupInfo

Not applies the not operator on the given predicate.

func Or Uses

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

Or groups list of predicates with the OR operator between them.

Package groupinfo imports 7 packages (graph) and is imported by 2 packages. Updated 2019-11-19. Refresh now. Tools for package owners.