Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AttendanceGroup) predicate.AttendanceGroup
- func CreatedAt(v time.Time) predicate.AttendanceGroup
- func CreatedAtEQ(v time.Time) predicate.AttendanceGroup
- func CreatedAtGT(v time.Time) predicate.AttendanceGroup
- func CreatedAtGTE(v time.Time) predicate.AttendanceGroup
- func CreatedAtIn(vs ...time.Time) predicate.AttendanceGroup
- func CreatedAtIsNil() predicate.AttendanceGroup
- func CreatedAtLT(v time.Time) predicate.AttendanceGroup
- func CreatedAtLTE(v time.Time) predicate.AttendanceGroup
- func CreatedAtNEQ(v time.Time) predicate.AttendanceGroup
- func CreatedAtNotIn(vs ...time.Time) predicate.AttendanceGroup
- func CreatedAtNotNil() predicate.AttendanceGroup
- func HasUsers() predicate.AttendanceGroup
- func HasUsersWith(preds ...predicate.User) predicate.AttendanceGroup
- func ID(id xid.ID) predicate.AttendanceGroup
- func IDEQ(id xid.ID) predicate.AttendanceGroup
- func IDGT(id xid.ID) predicate.AttendanceGroup
- func IDGTE(id xid.ID) predicate.AttendanceGroup
- func IDIn(ids ...xid.ID) predicate.AttendanceGroup
- func IDLT(id xid.ID) predicate.AttendanceGroup
- func IDLTE(id xid.ID) predicate.AttendanceGroup
- func IDNEQ(id xid.ID) predicate.AttendanceGroup
- func IDNotIn(ids ...xid.ID) predicate.AttendanceGroup
- func Name(v string) predicate.AttendanceGroup
- func NameContains(v string) predicate.AttendanceGroup
- func NameContainsFold(v string) predicate.AttendanceGroup
- func NameEQ(v string) predicate.AttendanceGroup
- func NameEqualFold(v string) predicate.AttendanceGroup
- func NameGT(v string) predicate.AttendanceGroup
- func NameGTE(v string) predicate.AttendanceGroup
- func NameHasPrefix(v string) predicate.AttendanceGroup
- func NameHasSuffix(v string) predicate.AttendanceGroup
- func NameIn(vs ...string) predicate.AttendanceGroup
- func NameIsNil() predicate.AttendanceGroup
- func NameLT(v string) predicate.AttendanceGroup
- func NameLTE(v string) predicate.AttendanceGroup
- func NameNEQ(v string) predicate.AttendanceGroup
- func NameNotIn(vs ...string) predicate.AttendanceGroup
- func NameNotNil() predicate.AttendanceGroup
- func Not(p predicate.AttendanceGroup) predicate.AttendanceGroup
- func Or(predicates ...predicate.AttendanceGroup) predicate.AttendanceGroup
- func UpdatedAt(v time.Time) predicate.AttendanceGroup
- func UpdatedAtEQ(v time.Time) predicate.AttendanceGroup
- func UpdatedAtGT(v time.Time) predicate.AttendanceGroup
- func UpdatedAtGTE(v time.Time) predicate.AttendanceGroup
- func UpdatedAtIn(vs ...time.Time) predicate.AttendanceGroup
- func UpdatedAtIsNil() predicate.AttendanceGroup
- func UpdatedAtLT(v time.Time) predicate.AttendanceGroup
- func UpdatedAtLTE(v time.Time) predicate.AttendanceGroup
- func UpdatedAtNEQ(v time.Time) predicate.AttendanceGroup
- func UpdatedAtNotIn(vs ...time.Time) predicate.AttendanceGroup
- func UpdatedAtNotNil() predicate.AttendanceGroup
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldName, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for attendancegroup fields.
var ( // NameValidator is a validator for the "Name" field. It is called by the builders before save. NameValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.AttendanceGroup) predicate.AttendanceGroup
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 ¶
func ID(id xid.ID) predicate.AttendanceGroup
ID filters vertices based on their identifier.
func IDEQ ¶
func IDEQ(id xid.ID) predicate.AttendanceGroup
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id xid.ID) predicate.AttendanceGroup
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 ¶
func IDLT(id xid.ID) predicate.AttendanceGroup
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 ¶
func Name(v string) predicate.AttendanceGroup
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 ¶
func NameEQ(v string) predicate.AttendanceGroup
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 ¶
func NameGT(v string) predicate.AttendanceGroup
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 ¶
func NameLT(v string) predicate.AttendanceGroup
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 ¶
func Not(p predicate.AttendanceGroup) predicate.AttendanceGroup
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AttendanceGroup) predicate.AttendanceGroup
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.