attendancegroup

package
v0.0.0-...-5b3434c Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the attendancegroup type in the database.
	Label = "attendance_group"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCreatedAt holds the string denoting the createdat field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updatedat field in the database.
	FieldUpdatedAt = "updated_at"

	// EdgeUsers holds the string denoting the users edge name in mutations.
	EdgeUsers = "users"

	// Table holds the table name of the attendancegroup in the database.
	Table = "attendance_groups"
	// UsersTable is the table the holds the users relation/edge.
	UsersTable = "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 = "users"
	// UsersColumn is the table column denoting the users relation/edge.
	UsersColumn = "attendance_group_users"
)

Variables

Columns holds all SQL columns for attendancegroup fields.

View Source
var (
	// NameValidator is a validator for the "Name" field. It is called by the builders before save.
	NameValidator func(string) error
)

Functions

func And

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

func CreatedAt

func CreatedAt(v time.Time) predicate.AttendanceGroup

CreatedAt applies equality check predicate on the "CreatedAt" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AttendanceGroup

CreatedAtEQ applies the EQ predicate on the "CreatedAt" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AttendanceGroup

CreatedAtGT applies the GT predicate on the "CreatedAt" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AttendanceGroup

CreatedAtGTE applies the GTE predicate on the "CreatedAt" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AttendanceGroup

CreatedAtIn applies the In predicate on the "CreatedAt" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.AttendanceGroup

CreatedAtIsNil applies the IsNil predicate on the "CreatedAt" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AttendanceGroup

CreatedAtLT applies the LT predicate on the "CreatedAt" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AttendanceGroup

CreatedAtLTE applies the LTE predicate on the "CreatedAt" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AttendanceGroup

CreatedAtNEQ applies the NEQ predicate on the "CreatedAt" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AttendanceGroup

CreatedAtNotIn applies the NotIn predicate on the "CreatedAt" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.AttendanceGroup

CreatedAtNotNil applies the NotNil predicate on the "CreatedAt" field.

func HasUsers

func HasUsers() predicate.AttendanceGroup

HasUsers applies the HasEdge predicate on the "users" edge.

func HasUsersWith

func HasUsersWith(preds ...predicate.User) predicate.AttendanceGroup

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

func ID

ID filters vertices based on their identifier.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id xid.ID) predicate.AttendanceGroup

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...xid.ID) predicate.AttendanceGroup

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id xid.ID) predicate.AttendanceGroup

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id xid.ID) predicate.AttendanceGroup

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...xid.ID) predicate.AttendanceGroup

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "Name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AttendanceGroup

NameContains applies the Contains predicate on the "Name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AttendanceGroup

NameContainsFold applies the ContainsFold predicate on the "Name" field.

func NameEQ

NameEQ applies the EQ predicate on the "Name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AttendanceGroup

NameEqualFold applies the EqualFold predicate on the "Name" field.

func NameGT

NameGT applies the GT predicate on the "Name" field.

func NameGTE

func NameGTE(v string) predicate.AttendanceGroup

NameGTE applies the GTE predicate on the "Name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AttendanceGroup

NameHasPrefix applies the HasPrefix predicate on the "Name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AttendanceGroup

NameHasSuffix applies the HasSuffix predicate on the "Name" field.

func NameIn

func NameIn(vs ...string) predicate.AttendanceGroup

NameIn applies the In predicate on the "Name" field.

func NameIsNil

func NameIsNil() predicate.AttendanceGroup

NameIsNil applies the IsNil predicate on the "Name" field.

func NameLT

NameLT applies the LT predicate on the "Name" field.

func NameLTE

func NameLTE(v string) predicate.AttendanceGroup

NameLTE applies the LTE predicate on the "Name" field.

func NameNEQ

func NameNEQ(v string) predicate.AttendanceGroup

NameNEQ applies the NEQ predicate on the "Name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AttendanceGroup

NameNotIn applies the NotIn predicate on the "Name" field.

func NameNotNil

func NameNotNil() predicate.AttendanceGroup

NameNotNil applies the NotNil predicate on the "Name" field.

func Not

Not applies the not operator on the given predicate.

func Or

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AttendanceGroup

UpdatedAt applies equality check predicate on the "UpdatedAt" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AttendanceGroup

UpdatedAtEQ applies the EQ predicate on the "UpdatedAt" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AttendanceGroup

UpdatedAtGT applies the GT predicate on the "UpdatedAt" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AttendanceGroup

UpdatedAtGTE applies the GTE predicate on the "UpdatedAt" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AttendanceGroup

UpdatedAtIn applies the In predicate on the "UpdatedAt" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.AttendanceGroup

UpdatedAtIsNil applies the IsNil predicate on the "UpdatedAt" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AttendanceGroup

UpdatedAtLT applies the LT predicate on the "UpdatedAt" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AttendanceGroup

UpdatedAtLTE applies the LTE predicate on the "UpdatedAt" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AttendanceGroup

UpdatedAtNEQ applies the NEQ predicate on the "UpdatedAt" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AttendanceGroup

UpdatedAtNotIn applies the NotIn predicate on the "UpdatedAt" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.AttendanceGroup

UpdatedAtNotNil applies the NotNil predicate on the "UpdatedAt" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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